diff options
Diffstat (limited to 'src/test/test1/ExprEdit4.java')
-rw-r--r-- | src/test/test1/ExprEdit4.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/test1/ExprEdit4.java b/src/test/test1/ExprEdit4.java new file mode 100644 index 00000000..6f764471 --- /dev/null +++ b/src/test/test1/ExprEdit4.java @@ -0,0 +1,16 @@ +package test1; + +public class ExprEdit4 { + int value; + + void f() { value = 3; } + + public ExprEdit4() { value = 0; } + + public int k1() { + ExprEdit4 e = null; + e.f(); + e = null; + return new ExprEdit4() == null ? 1 : 0; + } +} |