// WITH_RUNTIME fun test() { when (val a = create()) { else -> { use("") foo() } } } fun create(): String = "" fun use(s: String) {} fun foo() {}