Files
kotlin-fork/compiler/testData/codegen/boxInline/private/accessorForConst.kt
T
2018-06-28 12:26:41 +02:00

24 lines
370 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
class IntentionsBundle {
companion object {
internal inline fun message(): String {
return KEY + BUNDLE
}
private const val BUNDLE = "K"
protected const val KEY = "O"
}
}
// FILE: 2.kt
import test.*
fun box(): String {
return IntentionsBundle.message()
}