17 lines
255 B
Kotlin
Vendored
17 lines
255 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
// FILE: A.kt
|
|
|
|
@file:[JvmName("Test") JvmMultifileClass]
|
|
|
|
val property = "K"
|
|
|
|
inline fun K(body: () -> String): String =
|
|
body() + property
|
|
|
|
// FILE: B.kt
|
|
|
|
fun box(): String {
|
|
return K { "O" }
|
|
}
|