Files
kotlin/compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt
2018-09-07 15:57:59 +03:00

9 lines
175 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
inline class S(val string: String)
class Test(val x: S, val y: S = S("K")) {
val test = x.string + y.string
}
fun box() = Test(S("O")).test