aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
authoraclement <aclement>2008-02-07 17:00:27 +0000
committeraclement <aclement>2008-02-07 17:00:27 +0000
commit067b7ef2939465a558812d2957c41c93fba8db61 (patch)
tree2128f01de915137a2f78927e66d253c57da83cd0 /tests/bugs160
parentdb0e7de7899794db02664dbd71ccafdb2dc89496 (diff)
downloadaspectj-067b7ef2939465a558812d2957c41c93fba8db61.tar.gz
aspectj-067b7ef2939465a558812d2957c41c93fba8db61.zip
218167: test and fix: compiler crash on multiple dec @fields
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/pr218167/Test.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs160/pr218167/Test.java b/tests/bugs160/pr218167/Test.java
new file mode 100644
index 000000000..33d32e6b5
--- /dev/null
+++ b/tests/bugs160/pr218167/Test.java
@@ -0,0 +1,14 @@
+@interface A {}
+
+aspect Test {
+ declare @field : @A int var* : @A;
+ declare @field : int var* : @A;
+
+ interface Subject {}
+
+ public int Subject.vara;
+ public int Subject.varb;
+}
+
+class X implements Test.Subject {
+} \ No newline at end of file