blob: 5e2789d90942154597f25baf9129ed6fc94fa6fa [file]
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
// LANGUAGE: +EliminateAmbiguitiesOnInheritedSamInterfaces
// FILE: Test.java
public class Test {
interface MyRunnable extends Runnable {}
public static void foo(MyRunnable r) {}
public static void foo(Runnable r) {}
}
// FILE: 1.kt
fun main(args: Array<String>) {
Test.foo { }
}
fun box(): String {
main(arrayOf("", ""))
return "OK"
}