Permalink
Browse files

Test case closes SI-5165.

Also fixed by annotation/enum commit.
  • Loading branch information...
paulp committed May 11, 2012
1 parent 8075672 commit 3511e5960d510eafcb67c388ec0b5b60aafdd8f3
@@ -0,0 +1,11 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface TestAnnotation {
+ public enum TestEnumOne { A, B }
+ public enum TestEnumTwo { C, D }
+
+ public TestEnumOne one();
+ public TestEnumTwo two();
+ public String strVal();
+}
@@ -0,0 +1,3 @@
+
+object TestObject extends TestTrait
+
@@ -0,0 +1,3 @@
+
+@TestAnnotation(one=TestAnnotation.TestEnumOne.A, two=TestAnnotation.TestEnumTwo.C, strVal="something")
+trait TestTrait

0 comments on commit 3511e59

Please sign in to comment.