e9c9d5731e
This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
24 lines
325 B
Kotlin
Vendored
24 lines
325 B
Kotlin
Vendored
// FILE: test.kt
|
|
|
|
fun box() {
|
|
val a: Int? = 0
|
|
when (a) {
|
|
1 -> {
|
|
1 + 1
|
|
}
|
|
2 -> {
|
|
2 + 1
|
|
}
|
|
else -> {
|
|
0 + 0
|
|
}
|
|
}
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:4 box
|
|
// test.kt:5 box
|
|
// test.kt:6 box
|
|
// test.kt:9 box
|
|
// test.kt:13 box
|
|
// test.kt:16 box |