blob: b07f840f1ae74a497fda0f36bdc81b68870c8820 [file] [log] [blame]
library test;
class C<T> {
C.named(void func({T x})) {}
C.optional(void func([T x])) {}
}
main() {}
void named_toplevel({x: const [0]}) {}
void optional_toplevel([x = const [0]]) {}