blob: a6ff7242d731451276fb0c461f9f720e8f43718f [file]
class Test {
interface Task {
void doit();
}
class SuperClient {
public static void main(String[] args) {
Runnable r = ((Task) () -> System.out.println("hello"))::doit;
}
}
}