blob: a5a1da986aabe447d9266d364dc4c9f38b77fda4 [file]
// DONT_TARGET_EXACT_BACKEND: JS_IR, WASM_JS
// ^^^ Those targets don't support exitProcess()
// WITH_STDLIB
// FILE: test.kt
fun box() {
println("start")
kotlin.system.exitProcess(0)
println("unreachable")
}
// EXPECTATIONS JVM
// test.kt:7 box
// test.kt:8 box
// EXPECTATIONS NATIVE
// test.kt:7 box
// test.kt:7 box
// test.kt:8 box