diff options
author | aclement <aclement> | 2010-05-31 17:46:07 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-05-31 17:46:07 +0000 |
commit | e288ce7cea063de3570c7f1a68dcaaaf8a17f9f2 (patch) | |
tree | 2ba70673fc4c11f58bac8f072caa58accf946910 /tests | |
parent | 540672aeba6bceadb44b381b49dcae14825b0d13 (diff) | |
download | aspectj-e288ce7cea063de3570c7f1a68dcaaaf8a17f9f2.tar.gz aspectj-e288ce7cea063de3570c7f1a68dcaaaf8a17f9f2.zip |
314695
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs169/pr314965/MinimalExample.java | 13 |
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(); +} |