From f76921c5e0053c472abf8ccd3979116f180aae0a Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 12 Mar 2003 18:08:55 +0000 Subject: ?? regenerated file missing from my system but used in test case --- tests/errors/ClassExtendingAbstractAspectCE.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/errors/ClassExtendingAbstractAspectCE.java (limited to 'tests/errors') diff --git a/tests/errors/ClassExtendingAbstractAspectCE.java b/tests/errors/ClassExtendingAbstractAspectCE.java new file mode 100644 index 000000000..b00929573 --- /dev/null +++ b/tests/errors/ClassExtendingAbstractAspectCE.java @@ -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(* *()); +} + -- cgit v1.2.3