mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
10 lines
171 B
Kotlin
Vendored
10 lines
171 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
inline class S(val string: String)
|
|
|
|
enum class Test(val s: S) {
|
|
OK(S("OK"))
|
|
}
|
|
|
|
fun box() = Test.OK.s.string |