blob: 03513784f800f6705beaa5d1ad4d9739051e5b3e [file] [log] [blame]
enum E {
one,
two.named(),
three.f(),
four.f2();
const E();
const E.named() : this();
factory E.f() => values.first;
factory E.f2() {
return const E();
}
const factory E.f3() = E;
factory E.f4() = E;
factory E.f5() = E.f;
factory E.f6(int value) = E.f;
}
main() {}
test() {}