diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-08-22 17:00:00 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-08-22 17:00:00 -0700 |
commit | 5ef30bda739949d9f01b2b1792322382018e2be1 (patch) | |
tree | 5367c8691c334e9e8f10906caa12915725d86d92 /tests/bugs171 | |
parent | cbb6f5a7d50075dbb4482ff1a112463661aafe19 (diff) | |
download | aspectj-5ef30bda739949d9f01b2b1792322382018e2be1.tar.gz aspectj-5ef30bda739949d9f01b2b1792322382018e2be1.zip |
387568
Diffstat (limited to 'tests/bugs171')
-rw-r--r-- | tests/bugs171/pr387568/Code.java | 4 | ||||
-rw-r--r-- | tests/bugs171/pr387568/Color.java | 2 |
2 files changed, 4 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;} diff --git a/tests/bugs171/pr387568/Color.java b/tests/bugs171/pr387568/Color.java new file mode 100644 index 000000000..39d74a8fb --- /dev/null +++ b/tests/bugs171/pr387568/Color.java @@ -0,0 +1,2 @@ + +enum Color {R,G,B;} |