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