Files
kotlin/compiler/testData/codegen/box/jvmName/multifileClassWithLocalClass.kt
2016-11-09 21:41:12 +03:00

17 lines
304 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// 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()