Files
kotlin-fork/compiler/testData/codegen/box/multifileClasses/optimized/callableRefToInternalConstValInline.kt
T
Alexander Udalov e72388895b JVM IR: invoke codegen after lowering all files in the module
Inspired by discussion in #2316
2019-05-30 13:28:31 +02:00

19 lines
316 B
Kotlin
Vendored

// 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()