blob: 5858567d4d88794e6f33f3ed2c4a86c0aae91658 [file] [log] [blame]
interface SAM<X> {
X m(int i, int j);
}
class Foo {
void test() {
SAM<Integer> c = (i, j) -> i + j;
m(c);
}
void m(SAM<Integer> s) { }
}