mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
19 lines
397 B
Kotlin
Vendored
19 lines
397 B
Kotlin
Vendored
// TODO: muted automatically, investigate should it be ran for JS or not
|
|
// IGNORE_BACKEND: JS
|
|
|
|
// WITH_RUNTIME
|
|
// KOTLIN_CONFIGURATION_FLAGS: +JVM.INHERIT_MULTIFILE_PARTS
|
|
// FILE: box.kt
|
|
|
|
import a.*
|
|
|
|
fun box(): String = okInline()
|
|
|
|
// FILE: part1.kt
|
|
@file:[JvmName("MultifileClass") JvmMultifileClass]
|
|
package a
|
|
|
|
internal val ok = run { "OK" }
|
|
|
|
internal inline fun okInline() =
|
|
::ok.get() |