From d72870bfb6b09927e10944bdd129ce18dfcf7366 Mon Sep 17 00:00:00 2001 From: chiba Date: Wed, 31 Aug 2011 10:29:34 +0000 Subject: JvstTest test case. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@589 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/test/test1/ExprEdit3.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/test/test1/ExprEdit3.java (limited to 'src/test/test1/ExprEdit3.java') diff --git a/src/test/test1/ExprEdit3.java b/src/test/test1/ExprEdit3.java new file mode 100644 index 00000000..ecfcc676 --- /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; } +} -- cgit v1.2.3