From 144143c2970a1e874d74cdbd0f8c622d4282a3c3 Mon Sep 17 00:00:00 2001 From: wisberg Date: Mon, 16 Dec 2002 18:51:06 +0000 Subject: initial version --- tests/errors/ProceedArgsCE.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/errors/ProceedArgsCE.java (limited to 'tests/errors/ProceedArgsCE.java') 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 + } +} -- cgit v1.2.3