diff options
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 { +} |