From d664b142eccf8edbedc0e454e838bae269ec1417 Mon Sep 17 00:00:00 2001 From: wisberg Date: Sat, 26 Jul 2003 21:38:10 +0000 Subject: [PATCH] @testcase PR#40814 compile error expected for pointcuts in interfaces --- tests/ajcTestsFailing.xml | 15 ++++++++++++--- tests/bugs/InterfacePointcutCE.java | 7 +++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 tests/bugs/InterfacePointcutCE.java 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 -- 2.39.5