blob: 225b633b0a69c8f88477cd1daffffd604ae809f9 [file] [log] [blame]
class C {
C();
factory C.fact() => null;
factory C.fact2() = D;
C.nonFact();
C.nonFact2() : this.nonFact();
static void staticFunction(int i) {}
}
class D extends C {}
void topLevelFunction(int i) {}
bad() {}
ok() {}
main() {}