stdlib: Move exit function to porting layer
This commit is contained in:
@@ -2,4 +2,6 @@ import kotlin.system.*
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
exitProcess(42)
|
||||
@Suppress("UNREACHABLE_CODE")
|
||||
throw RuntimeException("Exit function call returned normally")
|
||||
}
|
||||
Reference in New Issue
Block a user