]> source.dussan.org Git - aspectj.git/commitdiff
added test for pr83645 into suite
authoracolyer <acolyer>
Thu, 24 Mar 2005 10:59:33 +0000 (10:59 +0000)
committeracolyer <acolyer>
Thu, 24 Mar 2005 10:59:33 +0000 (10:59 +0000)
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
tests/src/org/aspectj/systemtest/ajc150/ajc150.xml

index 0af01c1b7e4b7ef22010737156599918630ed712..cd5efbb3c2c894bf4e22f4e039a62319ba421953 100644 (file)
@@ -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) {
index 46d57ee6a2b1e264a129c24c4c5684ae8b2bfc29..36b2e029fd02e83c7e6b9ce6fc5546c58ccc602e 100644 (file)
     <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>