]> source.dussan.org Git - aspectj.git/commitdiff
?? regenerated file missing from my system but used in test case
authorwisberg <wisberg>
Wed, 12 Mar 2003 18:08:55 +0000 (18:08 +0000)
committerwisberg <wisberg>
Wed, 12 Mar 2003 18:08:55 +0000 (18:08 +0000)
tests/errors/ClassExtendingAbstractAspectCE.java [new file with mode: 0644]

diff --git a/tests/errors/ClassExtendingAbstractAspectCE.java b/tests/errors/ClassExtendingAbstractAspectCE.java
new file mode 100644 (file)
index 0000000..b009295
--- /dev/null
@@ -0,0 +1,23 @@
+import org.aspectj.testing.*;
+
+public class ClassExtendingAbstractAspectCE {
+    public static void main(String[] args) {
+        new ClassExtendingAbstractAspectCE().go(args);
+    }
+
+    void go(String[] args) {
+        Extends e = new Extends();
+        Tester.check(false, "shouldn't have compiled!");
+    }
+
+}
+
+abstract aspect Aspect {
+
+}
+
+
+class Extends extends Aspect {     // CE 20
+    pointcut p(): call(* *());
+}
+