aboutsummaryrefslogtreecommitdiff
path: root/src/test/test1/ExprEdit3.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test1/ExprEdit3.java')
-rw-r--r--src/test/test1/ExprEdit3.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/test1/ExprEdit3.java b/src/test/test1/ExprEdit3.java
new file mode 100644
index 0000000..ecfcc67
--- /dev/null
+++ b/src/test/test1/ExprEdit3.java
@@ -0,0 +1,13 @@
+package test1;
+
+public class ExprEdit3 {
+ int value;
+
+ private int f() { return 3; }
+
+ public ExprEdit3() { value = 0; }
+
+ public ExprEdit3(ExprEdit3 e, int i) { value = i; }
+
+ public int k1() { return new ExprEdit3(null, f()).value; }
+}