17 lines
304 B
Kotlin
Vendored
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()
|