mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
10 lines
205 B
Kotlin
Vendored
10 lines
205 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
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 |