aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/BadCCutSig.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/BadCCutSig.java')
-rw-r--r--tests/errors/BadCCutSig.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/errors/BadCCutSig.java b/tests/errors/BadCCutSig.java
new file mode 100644
index 000000000..96011cee9
--- /dev/null
+++ b/tests/errors/BadCCutSig.java
@@ -0,0 +1,10 @@
+package errors;
+
+aspect BadCCutSig {
+ int bar(int a, int b, int c) { return 0; }
+
+ pointcut cut(BadCCutSig b): target(b) && call(int bar(int, int, int));
+
+ before(BadCCutSig b): cut() { // SHOULD BE: cut(b)
+ }
+}