Files
kotlin-fork/compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt
T
2019-11-19 11:00:09 +03:00

12 lines
196 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class Foo private constructor(val param: String = "OK") {
companion object {
val s = Foo()
}
}
fun box(): String {
Foo.s.param
return "OK"
}