21 lines
222 B
Kotlin
Vendored
21 lines
222 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: A.kt
|
|
package test
|
|
|
|
var property = "fail"
|
|
private set
|
|
|
|
fun test() {
|
|
property = "OK"
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: B.kt
|
|
|
|
import test.*
|
|
|
|
fun box(): String {
|
|
test()
|
|
return property
|
|
}
|