blob: 1fe14f680abe446f4203a9f03f45d10ee5ad0a62 [file] [log] [blame]
class Test {
interface I1 {String m();}
interface I2 {void m();}
void call(I1 p) { }
void call(I2 p) { }
void test() {
call(() -> { throw new RuntimeException(); });
call(() -> { if (true) return ""; throw new RuntimeException(); });
call(() -> { if (true) return; throw new RuntimeException(); });
}
}