fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / libjava / testsuite / libjava.compile / SuperConstr.java
blobeef50508109402a6f94c3013efb33dfa9b5cbc4d
1 // It is legal to reference "this" from an enclosing type, or an instance
2 // field from an enclosing type, in a super constructor call.
4 public class SuperConstr
6 SuperConstr (Object x, Outer y) {}
9 class Outer
11 Object x;
13 class Sub extends SuperConstr
15 Sub()
17 super(x, Outer.this);