mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
12 lines
250 B
Kotlin
Vendored
12 lines
250 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
inline class S(val string: String)
|
|
|
|
class Outer(val s1: S) {
|
|
inner class Inner(val s2: S) {
|
|
val test = s1.string + s2.string
|
|
}
|
|
}
|
|
|
|
fun box() = Outer(S("O")).Inner(S("K")).test |