blob: 317d075abdf960b8334a24d77cb94848aa9b3350 [file]
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
// 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"
}