Files
kotlin/compiler/testData/codegen/boxAgainstJava/sam/kt4753.kt
2016-03-02 15:47:36 +03:00

19 lines
234 B
Kotlin
Vendored

// FILE: Base.java
interface Base<T> {
void call(T t);
}
// FILE: Derived.java
interface Derived extends Base<String> {
}
// FILE: 1.kt
fun box(): String {
Base<String>{}.call("")
Derived{}.call("")
return "OK"
}