aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/AroundDoubleAssignmentC.java
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-19 21:45:13 +0000
committerjhugunin <jhugunin>2002-12-19 21:45:13 +0000
commitc46adac65118dff18af875b3d760aced6b42f615 (patch)
tree384f76aa9dceedffa0008e6b5a1c7f3cf43a27f1 /tests/new/AroundDoubleAssignmentC.java
parent70419f7987b92a106b60e8c0884b9b68ac4c9432 (diff)
downloadaspectj-c46adac65118dff18af875b3d760aced6b42f615.tar.gz
aspectj-c46adac65118dff18af875b3d760aced6b42f615.zip
fixed illegal foward assignment not caught by 1.0.6
Diffstat (limited to 'tests/new/AroundDoubleAssignmentC.java')
-rw-r--r--tests/new/AroundDoubleAssignmentC.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/new/AroundDoubleAssignmentC.java b/tests/new/AroundDoubleAssignmentC.java
index f1b13d630..8127e57ac 100644
--- a/tests/new/AroundDoubleAssignmentC.java
+++ b/tests/new/AroundDoubleAssignmentC.java
@@ -70,7 +70,8 @@ public aspect AroundDoubleAssignmentC {
class FieldInit {
/** @testcase PR#687 around all execution with double assignment in initializer (fieldinit) */
- String s = s = getString();
+ String s = getString();
+ { s = s; }
String getString() { return "test".toString(); }
}