Files
kotlin-fork/compiler/testData/codegen/boxInline/private/accessorForConst.kt
T
2018-10-01 12:25:55 +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()
}