blob: d70331c99cc904b3c2cabe96281401e74df0ccb7 [file] [log] [blame]
class A {
A.new();
factory A.redirectingFactory() = A.new;
factory A.redirectingFactoryChild() = B.new;
A.redirecting() : this.new();
}
class B extends A {}
class C {
final int x;
const C.new(this.x);
}
class D extend C {
D(int x) : super.new(x * 2);
}
test() {}
main() {}