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