blob: 5758452ec597ab99d3baf0c2b6b0f7ad693d9422 [file] [log] [blame]
extension type I._(int it) {
I(int x, [int? y]) : it = x + (y ?? 42);
void m(String s, [int i = 1]) {}
} extension type I2._(int it) {
I2(int x, {int? y}) : it = x + (y ?? 87);
void m(String s, {int i = 1}) {}
}
main() {}
expect(expected, actual) {}