// WITH_RUNTIME // IS_APPLICABLE: false class A(val n: Int) { fun foo(): Nothing = throw Exception("foo") } fun test() { A(1).foo() }