aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcTests.xml
diff options
context:
space:
mode:
authoraclement <aclement>2004-03-19 09:28:14 +0000
committeraclement <aclement>2004-03-19 09:28:14 +0000
commit0a017593dcbeab409c1634da87b3f500b848e903 (patch)
treed9bd4b1fe70e8816853fcd994cbc3dd81ed9f1f2 /tests/ajcTests.xml
parent5795b4afc617d5ed3ce9f9338ff59fe275bd56b0 (diff)
downloadaspectj-0a017593dcbeab409c1634da87b3f500b848e903.tar.gz
aspectj-0a017593dcbeab409c1634da87b3f500b848e903.zip
Fix for Bugzilla Bug 53012
declare precedence on a class should be a compile-time error
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r--tests/ajcTests.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index 33c0c645a..ce4620ece 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -7511,4 +7511,16 @@
</compile>
</ajc-test>
+ <ajc-test dir="bugs/declarePrecedenceWithClasses" pr="53012"
+ title="declare precedence on a class should be a compile-time error">
+ <compile files="DeclarePrecedenceTestClass.java" >
+ <message kind="error" line="10" text="Non-aspect types can only be specified"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="bugs/declarePrecedenceWithClasses" pr="53012"
+ title="declare precedence on a class should be a compile-time error">
+ <compile files="Priority.aj" />
+ </ajc-test>
+
</suite>