aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-07-26 21:38:10 +0000
committerwisberg <wisberg>2003-07-26 21:38:10 +0000
commitd664b142eccf8edbedc0e454e838bae269ec1417 (patch)
tree272b1faac178d92e1bb6313aecb3bd26afb8af91 /tests/bugs
parent56094d51e65add9b2524dbb440a223e6904ae993 (diff)
downloadaspectj-d664b142eccf8edbedc0e454e838bae269ec1417.tar.gz
aspectj-d664b142eccf8edbedc0e454e838bae269ec1417.zip
@testcase PR#40814 compile error expected for pointcuts in interfaces
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/InterfacePointcutCE.java7
1 files changed, 7 insertions, 0 deletions
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