Add tests extracted from regressions

This commit is contained in:
Anton Bannykh
2020-01-29 23:51:39 +03:00
parent 1e96c3d21e
commit 70a4c265de
9 changed files with 120 additions and 0 deletions
@@ -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