From: wisberg Date: Sat, 26 Jul 2003 21:38:10 +0000 (+0000) Subject: @testcase PR#40814 compile error expected for pointcuts in interfaces X-Git-Tag: V1_1_1~193 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d664b142eccf8edbedc0e454e838bae269ec1417;p=aspectj.git @testcase PR#40814 compile error expected for pointcuts in interfaces --- diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml index 35a87fefd..455eff989 100644 --- a/tests/ajcTestsFailing.xml +++ b/tests/ajcTestsFailing.xml @@ -4,9 +4,18 @@ - + + + + + + + + diff --git a/tests/bugs/InterfacePointcutCE.java b/tests/bugs/InterfacePointcutCE.java new file mode 100644 index 000000000..49bcd33de --- /dev/null +++ b/tests/bugs/InterfacePointcutCE.java @@ -0,0 +1,7 @@ + + +/** @testcase PR#40814 compile error expected for pointcuts in interfaces */ +interface I { + abstract pointcut pc(); // CE + pointcut publicCalls() : call(public * *(..)) || call(public new(..)); // CE +} \ No newline at end of file