blob: ea864dd2faa6015a8962ea985e088fc3b8ced03a [file] [log] [blame]
fun bar(x: Int): RuntimeException = RuntimeException(x.toString())
fun foo() {
val x: Int? = null
if (x == null) throw bar(<!ARGUMENT_TYPE_MISMATCH!>x<!>)
throw bar(x)
throw bar(x)
}