summaryrefslogtreecommitdiffstats
path: root/tests/errors/AbstractPointcutCE.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/AbstractPointcutCE.java')
-rw-r--r--tests/errors/AbstractPointcutCE.java12
1 files changed, 12 insertions, 0 deletions
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
+}
+