# HG changeset patch # User Paul Boddie # Date 1100188121 -3600 # Node ID ffd0431b830786a25223c6f73eb981b647ef0446 # Parent 68fbab7e626988b681aa6ba2a21b863aceda807b Added a test of instantiation within an method in order to determine whether the correct invocation is used. diff -r 68fbab7e6269 -r ffd0431b8307 tests/ValueSubclass.java --- a/tests/ValueSubclass.java Thu Nov 11 15:25:12 2004 +0100 +++ b/tests/ValueSubclass.java Thu Nov 11 16:48:41 2004 +0100 @@ -1,11 +1,12 @@ public class ValueSubclass extends Value { + public Value tmp; /** * Test of subclass initialisation with super usage and foreign object initialisation. */ public ValueSubclass(int x) { super(x); - Value tmp = new Value(42); + tmp = new Value(42); } /**