Files
kotlin-fork/compiler/testData/codegen/box/jvmName/multifileClassWithLocalClass.kt
T

14 lines
208 B
Kotlin
Vendored

// WITH_RUNTIME
@file:JvmName("Test")
@file:JvmMultifileClass
package test
fun foo(): String = bar()
fun bar(): String {
class Local(val x: String)
return Local("OK").x
}
fun box(): String = foo()