blob: 79e049da255e201bf2d2496860dc954dbcf6a372 [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 = MyTest<String>:<caret>:new;
}
}