// WITH_RUNTIME fun test(a: String?, b: String): String { val x = if (true) a else b if (x == null) throw Exception() return x }