blob: f161d5790040ff2bd4fde7488aad796af24f1f0d [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 extends C {
D(int x) : super.new(x * 2);
}
test() {}
main() {}