1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
11 lines
161 B
Kotlin
11 lines
161 B
Kotlin
fun box() : String {
|
|
val s = "notA"
|
|
val id = when (s) {
|
|
"a" -> 1
|
|
else -> null
|
|
}
|
|
|
|
if (id == null) return "OK"
|
|
return "fail"
|
|
}
|