aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-03-24 10:59:33 +0000
committeracolyer <acolyer>2005-03-24 10:59:33 +0000
commitd0b3d1178023c00a3ab95803a0b4938e31923a5e (patch)
tree118ebd5adae6fba066082be92a8ab5fb0444da7d /tests
parent0d14ccfa4ce92c9adc2f849a4ee4f22c5b3a5ef7 (diff)
downloadaspectj-d0b3d1178023c00a3ab95803a0b4938e31923a5e.tar.gz
aspectj-d0b3d1178023c00a3ab95803a0b4938e31923a5e.zip
added test for pr83645 into suite
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml7
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index 0af01c1b7..cd5efbb3c 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -153,6 +153,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("introduction sample");
}
+ public void testPTWInterface() {
+ runTest("pertypewithin({interface}) illegal field modifier");
+ }
+
// helper methods.....
public SyntheticRepository createRepos(File cpentry) {
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 46d57ee6a..36b2e029f 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -125,7 +125,12 @@
<ajc-test dir="bugs150" title="bad asm for enums" vm="1.5">
<compile files="Rainbow.java" options="-emacssym,-1.5"/>
</ajc-test>
-
+
+ <ajc-test dir="bugs150" pr="83645" title="pertypewithin({interface}) illegal field modifier">
+ <compile files="PR83645.aj"/>
+ <run class="PR83645"/>
+ </ajc-test>
+
<ajc-test dir="../docs/dist/doc/examples/introduction" title="introduction sample" vm="1.5">
<compile files="CloneablePoint.java,ComparablePoint.java,HashablePoint.java,Point.java" options="-1.5"/>
</ajc-test>