Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.compiler.apt.tests/resources/targets/bug521812/MyEnum.java')
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/resources/targets/bug521812/MyEnum.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/org.eclipse.jdt.compiler.apt.tests/resources/targets/bug521812/MyEnum.java b/org.eclipse.jdt.compiler.apt.tests/resources/targets/bug521812/MyEnum.java
new file mode 100644
index 0000000000..66b5b94582
--- /dev/null
+++ b/org.eclipse.jdt.compiler.apt.tests/resources/targets/bug521812/MyEnum.java
@@ -0,0 +1,10 @@
+package targets.bug521812;
+
+@org.eclipse.jdt.compiler.apt.tests.annotations.Type
+enum MyEnum {
+ A(1), B(2);
+
+ MyEnum(int v) { this.v = v; }
+ public int value() { return v; }
+ final int v;
+} \ No newline at end of file

Back to the top