Commit 4fd29775 by Bryce McKinlay Committed by Bryce McKinlay

* libjava.compile/SuperConstr.java: New test case.

From-SVN: r38793
parent 0c58da3e
2001-01-08 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.compile/SuperConstr.java: New test case.
2000-12-18 Tom Tromey <tromey@redhat.com>
* libjava.mauve/mauve.exp (test_mauve): Don't look for exceptions
......
// It is legal to reference "this" from an enclosing type, or an instance
// field from an enclosing type, in a super constructor call.
public class SuperConstr
{
SuperConstr (Object x, Outer y) {}
}
class Outer
{
Object x;
class Sub extends SuperConstr
{
Sub()
{
super(x, Outer.this);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment