blob: 43972867822cd0cbdd864b35578ea97bb38658db [file] [log] [blame]
inline
class I {
final int it;
I(int x, [int? y]) : it = x + (y ?? 42);
void m(String s, [int i = 1]) {}
}
inline
class I2 {
final int it;
I2(int x, {int? y}) : it = x + (y ?? 87);
void m(String s, {int i = 1}) {}
}
main() {}
expect(expected, actual) {}