blob: 8316f9e41fa935d27101a0a4a2ca1228c12282e3 [file] [log] [blame]
interface X<T> { void m(T arg); }
interface Y<T> { void m(T arg); }
interface Z<T> extends X<T>, Y<T> {}
class App {
public static void main(String[] args) {
Z<String> z = (String s) -> System.out.println(s);
z.m("Hello, world");
}
}