diff options
author | jhugunin <jhugunin> | 2003-01-21 19:02:53 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-21 19:02:53 +0000 |
commit | e34f6ca4b8f32a46ed29c6dc2305812e365bedf2 (patch) | |
tree | ecaa30b74167698c7675bc5f9451dfe36b48a899 /tests/bugs/CircularPrecedence.java | |
parent | d2b603683edc8747eebdb4d106c205dd9433da9f (diff) | |
download | aspectj-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.java | 19 |
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 { +} |