blob: 2d27aef15301a60bac29fd257156eb0282ae541c [file] [log] [blame]
public class MyTest {
static void m(Integer i) { assertTrue(true); }
interface I1 {
void m(int x);
}
interface I2 {
void m(Integer x);
}
static void call(Integer i, I1 s) {}
static void call(int i, I2 s) {}
public static void main(String[] args) {
call(1, (i) -> MyTest.m(i));
}
}