diff options
author | acolyer <acolyer> | 2004-12-10 13:25:46 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-12-10 13:25:46 +0000 |
commit | d279a507f5633f03f307eb8e6ace52a7a5df4d17 (patch) | |
tree | eecaf4f29ab6fb1dc567a3b9a20c717731e33d43 /tests/java5 | |
parent | 0485c3b5b128171d8a53c956e6d9561429cbcb7b (diff) | |
download | aspectj-d279a507f5633f03f307eb8e6ace52a7a5df4d17.tar.gz aspectj-d279a507f5633f03f307eb8e6ace52a7a5df4d17.zip |
test correct detection of @args in a declare
Diffstat (limited to 'tests/java5')
-rw-r--r-- | tests/java5/annotations/args/DeclareEoW.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/java5/annotations/args/DeclareEoW.java b/tests/java5/annotations/args/DeclareEoW.java new file mode 100644 index 000000000..2c598e42f --- /dev/null +++ b/tests/java5/annotations/args/DeclareEoW.java @@ -0,0 +1,5 @@ +public aspect DeclareEoW { + + declare warning : @args(@MyAnnotation) : "@args is not allowed in declares..."; + +}
\ No newline at end of file |