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