diff options
author | wisberg <wisberg> | 2003-03-12 18:08:55 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-03-12 18:08:55 +0000 |
commit | f76921c5e0053c472abf8ccd3979116f180aae0a (patch) | |
tree | 01250ea8f06431f928ae442dd04da64f6d3b2cd4 /tests/errors | |
parent | 07ffcd2776cd2b6100ec76f0487bc034484ac8a5 (diff) | |
download | aspectj-f76921c5e0053c472abf8ccd3979116f180aae0a.tar.gz aspectj-f76921c5e0053c472abf8ccd3979116f180aae0a.zip |
?? regenerated file missing from my system but used in test case
Diffstat (limited to 'tests/errors')
-rw-r--r-- | tests/errors/ClassExtendingAbstractAspectCE.java | 23 |
1 files changed, 23 insertions, 0 deletions
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(* *()); +} + |