blob: 17d1d9890f96ea11a4a07ad18e248b4eefc86e70 [file] [log] [blame]
class A {
A.foo() {}
A() {}
factory A.bar() => new A();
}
testFoo() => A.foo;
testNew() => A.new;
testBar() => A.bar;
testFooExtraArgs() => A<int>.foo;
testNewExtraArgs() => A<int>.new;
testBarExtraArgs() => A<int>.bar;
main() {}