1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
16 lines
207 B
Kotlin
16 lines
207 B
Kotlin
var result = "OK"
|
|
|
|
class A {
|
|
companion object {
|
|
var z = result
|
|
|
|
fun patchResult() {
|
|
result = "fail"
|
|
}
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
A.patchResult()
|
|
return A.z
|
|
} |