]> source.dussan.org Git - aspectj.git/commitdiff
@testcase type not imported in aspect
authorwisberg <wisberg>
Wed, 12 Mar 2003 20:56:52 +0000 (20:56 +0000)
committerwisberg <wisberg>
Wed, 12 Mar 2003 20:56:52 +0000 (20:56 +0000)
(similar scenario to prior, but different stack trace)

tests/ajcTestsFailing.xml
tests/errors/TypeInAspectNotImportedCE.java [new file with mode: 0644]

index 19a8c048f1c1a07ce7777c6186468d395f7face9..4f31f40871dc3d653b9b7e74ca550f6ee1d1227f 100644 (file)
         </compile>
        </ajc-test>
 
+    <ajc-test dir="errors"  
+               title="type not imported in aspect">
+        <compile files="TypeInAspectNotImportedCE.java">
+               <message kind="error" line="6"/>
+        </compile>
+       </ajc-test>
+
 </suite>
diff --git a/tests/errors/TypeInAspectNotImportedCE.java b/tests/errors/TypeInAspectNotImportedCE.java
new file mode 100644 (file)
index 0000000..f79de07
--- /dev/null
@@ -0,0 +1,7 @@
+
+class C { void m() {  } }
+
+/** @testcase type not imported in aspect */
+aspect A {
+    Rectangle C.bounds = null;  // CE 6
+}