summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-31 17:46:07 +0000
committeraclement <aclement>2010-05-31 17:46:07 +0000
commite288ce7cea063de3570c7f1a68dcaaaf8a17f9f2 (patch)
tree2ba70673fc4c11f58bac8f072caa58accf946910 /tests
parent540672aeba6bceadb44b381b49dcae14825b0d13 (diff)
downloadaspectj-e288ce7cea063de3570c7f1a68dcaaaf8a17f9f2.tar.gz
aspectj-e288ce7cea063de3570c7f1a68dcaaaf8a17f9f2.zip
314695
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs169/pr314965/MinimalExample.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs169/pr314965/MinimalExample.java b/tests/bugs169/pr314965/MinimalExample.java
new file mode 100644
index 000000000..171694cec
--- /dev/null
+++ b/tests/bugs169/pr314965/MinimalExample.java
@@ -0,0 +1,13 @@
+public aspect MinimalExample {
+ declare @type : @AnnotationWithParam("arg") * : @AnnotationWithParam2("gra");
+ // the following lines leads to a misleading compiler error
+ declare @type : @AnnotationWithParamAndTypo("arg") * : @AnnotationWithParam2("gra");
+}
+
+@interface AnnotationWithParam {
+ String value();
+}
+
+@interface AnnotationWithParam2 {
+ String value();
+}