blob: 7e2f4e860b3b1cf4c4db9e11f9692662092ea91b [file] [log] [blame]
class FooBar {
private static final class Bar2 {
private Bar2() {
}
}
private interface I<T> {
T create();
}
static void foo(I intf) {}
public static void main(String[] args) throws Exception {
foo(() -> new Bar2());
}
}