Add tests extracted from regressions
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FILE: A.kt
|
||||
|
||||
interface A : B
|
||||
|
||||
fun box(): String = object : A {}.foo()
|
||||
|
||||
// FILE: B.kt
|
||||
|
||||
interface Base {
|
||||
fun foo(s: String = "OK"): String = s
|
||||
}
|
||||
|
||||
interface B : Base
|
||||
Reference in New Issue
Block a user