Files
kotlin/compiler/testData/codegen/boxInline/private/accessorForConst.kt
2016-02-27 15:40:05 +03:00

23 lines
344 B
Kotlin
Vendored

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