Files
kotlin-fork/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessor.kt
T

11 lines
153 B
Kotlin
Vendored

package test
fun <T> eval(fn: () -> T) = fn()
private val prop = "O"
private fun test() = "K"
fun box(): String {
return eval { prop + test() }
}