Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/functionNameMangling/anonymousObjectInFunctionWithMangledName.kt
T

13 lines
195 B
Kotlin
Vendored

// WITH_RUNTIME
@JvmInline
value class S(val string: String)
fun foo(s: S): String {
val anon = object {
fun bar() = s.string
}
return anon.bar()
}
fun box() = foo(S("OK"))