From d279a507f5633f03f307eb8e6ace52a7a5df4d17 Mon Sep 17 00:00:00 2001 From: acolyer Date: Fri, 10 Dec 2004 13:25:46 +0000 Subject: test correct detection of @args in a declare --- tests/java5/annotations/args/DeclareEoW.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/java5/annotations/args/DeclareEoW.java (limited to 'tests/java5') 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 -- cgit v1.2.3