Files
kotlin-fork/backend.native/tests/external/compileKotlinAgainstKotlin/kt14012_multi.kt
T
2017-03-13 15:31:46 +03:00

22 lines
259 B
Kotlin

// IGNORE_BACKEND: NATIVE
// FILE: A.kt
@file:JvmName("TTest")
@file:JvmMultifileClass
package test
var property = "fail"
private set
fun test() {
property = "OK"
}
// FILE: B.kt
import test.*
fun box(): String {
test()
return property
}