make NewClass Test comply with our definition of fieldVarAccess

This commit is contained in:
simon 2024-06-28 22:05:26 +02:00
parent 354502cc20
commit 1b87dfb78e

View File

@ -2,11 +2,11 @@ public class NewClass {
public int x;
public NewClass() {
x = 6;
this.x = 6;
}
public int simple() {
x = 4;
int x = 4;
NewClass y = new NewClass();
return x + y.x;
}