blob: d5b9483b1b9bc36b196157bf586ebfbb2d202078 [file] [log] [blame]
interface I {
void foo(Y<String>.Z z, int x);
}
public class X {
public static void main(String[] args) {
I i = Y<String>.@Marker Z::foo;
i.foo(new Y<String>().new Z(), 10);
Zork z;
}
}
class Y<T> {
class Z {
void foo(int x) {
System.out.println(x);
}
}
}