]> source.dussan.org Git - aspectj.git/commitdiff
Test cases for declare parent scenarios - suspected compiler bugs.
authoracolyer <acolyer>
Thu, 27 Mar 2003 17:01:56 +0000 (17:01 +0000)
committeracolyer <acolyer>
Thu, 27 Mar 2003 17:01:56 +0000 (17:01 +0000)
tests/ajcTestsFailing.xml

index 50d4ab09007d7b625d36166b55e0027a3dc06c5f..27b67e5b0cde034da37240e67304aaaa7b54bd2d 100644 (file)
@@ -4,4 +4,19 @@
 <!-- contains valid tests that the compiler has never passed -->
 <suite>
 
+    <ajc-test dir="new/declareParents"
+      title="Declare parents with intermediate ancestor"
+      keywords="from-new">
+        <compile files="Driver.java"/>
+        <run class="Driver"/>
+    </ajc-test>
+    
+    <ajc-test dir="new/declareParents" 
+      title="Declare parents removing ancestor"
+      keywords="from-new">
+        <compile files="IllegalAdoption.java">
+            <message kind="error" line="13"/>
+        </compile>
+    </ajc-test>
+
 </suite>