fixed illegal foward assignment not caught by 1.0.6

This commit is contained in:
jhugunin 2002-12-19 21:45:13 +00:00
parent 70419f7987
commit c46adac651

View File

@ -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(); }
}