mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
11 lines
198 B
Kotlin
Vendored
11 lines
198 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
inline class Inner(val result: String)
|
|
|
|
inline class A(val inner: Inner = Inner("OK"))
|
|
|
|
fun box(): String {
|
|
return A().inner.result
|
|
}
|