blob: 3034c5921b3e06316a7ca7fc3deeee84ca9a49f9 [file]
import Base.*
fun use(x: Base): String =
when (x) {
is A -> "A"
is B -> "B"
is C -> "C"
}