summaryrefslogtreecommitdiffstats
path: root/tests/new/pr456/Test_AroundVarBug.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/pr456/Test_AroundVarBug.java')
-rw-r--r--tests/new/pr456/Test_AroundVarBug.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/new/pr456/Test_AroundVarBug.java b/tests/new/pr456/Test_AroundVarBug.java
new file mode 100644
index 000000000..ed394fbca
--- /dev/null
+++ b/tests/new/pr456/Test_AroundVarBug.java
@@ -0,0 +1,16 @@
+import java.util.ArrayList;
+
+import org.aspectj.testing.Tester;
+
+/** @testcase PR#456 advice on advice in usejavac mode */
+public class Test_AroundVarBug {
+ {
+ new ArrayList ().iterator ();
+ }
+ public static void main (String[] args) {
+ new Test_AroundVarBug();
+ Tester.checkAllEvents();
+ }
+
+}
+