mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
20 lines
346 B
Kotlin
Vendored
20 lines
346 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
// IGNORE_LIGHT_ANALYSIS
|
|
// WITH_RUNTIME
|
|
// !INHERIT_MULTIFILE_PARTS
|
|
// FILE: box.kt
|
|
|
|
import a.*
|
|
|
|
fun box(): String = okInline()
|
|
|
|
// FILE: part1.kt
|
|
@file:[JvmName("MultifileClass") JvmMultifileClass]
|
|
package a
|
|
|
|
internal const val ok = "OK"
|
|
|
|
internal inline fun okInline() =
|
|
::ok.get()
|