26 lines
412 B
Kotlin
Vendored
26 lines
412 B
Kotlin
Vendored
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS
|
|
|
|
// WITH_RUNTIME
|
|
// FILE: foo.kt
|
|
@file:JvmName("Util")
|
|
@file:JvmMultifileClass
|
|
package test
|
|
|
|
private const val x = "O"
|
|
|
|
fun foo() = x
|
|
|
|
// FILE: bar.kt
|
|
@file:JvmName("Util")
|
|
@file:JvmMultifileClass
|
|
package test
|
|
|
|
private const val x = "K"
|
|
|
|
fun bar() = x
|
|
|
|
// FILE: test.kt
|
|
package test
|
|
|
|
fun box(): String = foo() + bar() |