summaryrefslogtreecommitdiffstats
path: root/tests/bugs171/pr387568/Code.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs171/pr387568/Code.java')
-rw-r--r--tests/bugs171/pr387568/Code.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs171/pr387568/Code.java b/tests/bugs171/pr387568/Code.java
index 99d248803..8b86a3a68 100644
--- a/tests/bugs171/pr387568/Code.java
+++ b/tests/bugs171/pr387568/Code.java
@@ -1,12 +1,13 @@
import java.lang.annotation.*;
-
class AAA {
public void m() {
Color[] cs = Color.values();
+ Color c = Color.valueOf("R");
}
}
+@Anno
aspect Foo {
after(): @annotation(Anno) {}
}
@@ -14,4 +15,3 @@ aspect Foo {
@Retention(RetentionPolicy.RUNTIME)
@interface Anno {}
-enum Color {R,G,B;}