Files
kotlin-fork/compiler/testData/codegen/box/topLevelPrivate/syntheticAccessorInMultiFile.kt
T
2018-06-09 19:15:38 +03:00

20 lines
345 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
@file:kotlin.jvm.JvmMultifileClass
@file:kotlin.jvm.JvmName("TestKt")
package test
private val prop = "O"
private fun test() = "K"
fun box(): String {
return {
prop + test()
}()
}