Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
native
/
native.tests
/
testData
/
standalone
/
termination
/
terminateWithUnhandledException.kt
blob: b228b439c000464ea384bbc6f590963b2bf5e6ce [
file
]
// EXIT_CODE: !0
// OUTPUT_REGEX: Uncaught Kotlin exception: kotlin\.Error: an error\R.*
@file
:
OptIn
(
kotlin
.
experimental
.
ExperimentalNativeApi
::
class
)
fun main
()
{
terminateWithUnhandledException
(
Error
(
"an error"
))
}