Files
kotlin-fork/compiler/testData/codegen/boxInline/private/accessorForConst.kt
T
Georgy Bronnikov 487f500f85 Revert "JVM_IR. Support compile time constants"
This reverts commit 055215c54f.
2018-09-25 05:24:48 +03: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()
}