From: wisberg Date: Sat, 26 Jul 2003 21:37:38 +0000 (+0000) Subject: passing tests compiler errors when abstract pointcuts are outside abstract aspects X-Git-Tag: V1_1_1~194 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=56094d51e65add9b2524dbb440a223e6904ae993;p=aspectj.git passing tests compiler errors when abstract pointcuts are outside abstract aspects --- diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 5cccbc37b..788451035 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6462,4 +6462,13 @@ + + + + + + + + diff --git a/tests/errors/AbstractPointcutCE.java b/tests/errors/AbstractPointcutCE.java new file mode 100644 index 000000000..95ffccc08 --- /dev/null +++ b/tests/errors/AbstractPointcutCE.java @@ -0,0 +1,12 @@ + + +/** @testcase compile error expected for abstract pointcut outside abstract aspect */ +class C { + abstract pointcut pc(); // CE 5 +} + + +aspect B { + abstract pointcut pc(); // CE 10 +} +