Files
kotlin-fork/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt
T
Igor Chevdar a1e5bef3ad [box-tests] Ignored some tests for K/N
A file included twice in a source set is not supported for now
2021-06-16 14:27:14 +05:00

27 lines
415 B
Kotlin
Vendored

// IGNORE_BACKEND: NATIVE
// MODULE: lib
// FILE: 2.kt
abstract class A {
protected val value = "O"
fun f(k: String = "K") = value + k
}
abstract class B : A()
// FILE: 3.kt
abstract class C : B()
// MODULE: main(lib)
// FILE: 1.kt
class D : C()
fun box(): String = D().f()
// FILE: 2.kt
abstract class A {
protected val value = "O"
fun f(k: String = "K") = value + k
}
abstract class B : A()