mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 15:54:05 +00:00
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()
|