aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/CircularPrecedence.java
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-01-21 19:02:53 +0000
committerjhugunin <jhugunin>2003-01-21 19:02:53 +0000
commite34f6ca4b8f32a46ed29c6dc2305812e365bedf2 (patch)
treeecaa30b74167698c7675bc5f9451dfe36b48a899 /tests/bugs/CircularPrecedence.java
parentd2b603683edc8747eebdb4d106c205dd9433da9f (diff)
downloadaspectj-e34f6ca4b8f32a46ed29c6dc2305812e365bedf2.tar.gz
aspectj-e34f6ca4b8f32a46ed29c6dc2305812e365bedf2.zip
test for Bugzilla Bug 29689
Declare precedence should not allow multiple * patterns
Diffstat (limited to 'tests/bugs/CircularPrecedence.java')
-rw-r--r--tests/bugs/CircularPrecedence.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs/CircularPrecedence.java b/tests/bugs/CircularPrecedence.java
new file mode 100644
index 000000000..610a29e85
--- /dev/null
+++ b/tests/bugs/CircularPrecedence.java
@@ -0,0 +1,19 @@
+import org.aspectj.testing.Tester;
+
+/** @testcase Bugzilla Bug 29689
+ Declare precedence should not allow multiple * patterns
+
+ */
+public class CircularPrecedence {
+
+ public static void main(String[] args) {
+ }
+
+
+ public static aspect Coordinator {
+ declare precedence : *, Tracing, *; // should be error
+ }
+}
+
+aspect Tracing {
+}