238cc7c257
143 out of 767 tests (18.6%) are currently failing.
20 lines
356 B
Kotlin
Vendored
20 lines
356 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
import kotlin.test.assertEquals
|
|
|
|
enum class Season {
|
|
WINTER,
|
|
SPRING,
|
|
SUMMER,
|
|
AUTUMN
|
|
}
|
|
|
|
fun bar(x : Season) : String {
|
|
when (x) {
|
|
Season.WINTER, Season.SPRING -> return "winter_spring"
|
|
Season.SUMMER, Season.SPRING -> return "summer"
|
|
else -> return "autumn"
|
|
}
|
|
}
|
|
|
|
// 1 TABLESWITCH
|