blob: 38e5805593ce49bf7a5d93aa215bdc1be2ae51b0 [file] [log] [blame]
// "Add else branch" "true"
enum class Color { R, G, B }
fun use(c: Color) {
when (c) {
Color.R -> red()
else -> {
}
}
}
fun red() {}