blob: cd937894625ec1749bb0ae9434cb04fc5cf03d29 [file] [log] [blame]
public class MyTest<X> {
MyTest(X x) {}
interface I<Z> {
MyTest<Z> m(Z z);
}
static <Y> void test(I<Y> s, Y arg) {
s.m(arg);
}
static {
I<String> s = (x) -> new MyTest<String>(x);
}
}