diff options
Diffstat (limited to 'tests/errors/ProceedArgsCE.java')
-rw-r--r-- | tests/errors/ProceedArgsCE.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/errors/ProceedArgsCE.java b/tests/errors/ProceedArgsCE.java new file mode 100644 index 000000000..02224847d --- /dev/null +++ b/tests/errors/ProceedArgsCE.java @@ -0,0 +1,21 @@ +public class ProceedArgsCE { + public static void main(String[] args){ + new ProceedArgsCE().go(); + } + + void go() { + System.out.println("... "); + } +} + +aspect A { + void around(Object o): this(o) { + proceed(); // CE + } + void around(Object o): this(o) { + proceed(2); // CE + } + void around(Object o): this(o) { + proceed("hi", 2); //CE + } +} |