blob: 2888cc5ae7bab237fb1ce58f653c686038efb327 [file]
// TARGET_BACKEND: JVM
// WITH_STDLIB
abstract class Foo {
companion object {
@JvmStatic
fun bar(): Nothing = TODO()
}
}
fun box(): String {
try {
Foo.bar()
} catch (e: Throwable) {
return "OK"
}
return "FAIL"
}