class Foo extends A { Foo() { super(2); } void foo() { new A(1); } }