1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
15 lines
133 B
Kotlin
15 lines
133 B
Kotlin
enum class En {
|
|
A,
|
|
B
|
|
}
|
|
|
|
fun box(): String {
|
|
|
|
val u: Unit = when(En.A) {
|
|
En.A -> {}
|
|
En.B -> {}
|
|
}
|
|
|
|
return "OK"
|
|
}
|