[K/N][test] Add missing opt-in for setUnhandledExceptionHook
This is follow-up to KT-MR-9340
Merge-request: KT-MR-9488
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
diff --git a/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt b/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt
index 95d3075..e47bcc8 100644
--- a/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt
+++ b/kotlin-native/backend.native/tests/interop/threadStates/unhandledException.kt
@@ -2,7 +2,7 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
-@file:OptIn(FreezingIsDeprecated::class)
+@file:OptIn(FreezingIsDeprecated::class, ExperimentalStdlibApi::class)
import kotlin.native.concurrent.*
import kotlin.native.internal.Debugging
diff --git a/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt b/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt
index aa670ed..09c6202 100644
--- a/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt
+++ b/kotlin-native/backend.native/tests/interop/threadStates/unhandledExceptionInForeignThread.kt
@@ -2,7 +2,7 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
-@file:OptIn(FreezingIsDeprecated::class)
+@file:OptIn(FreezingIsDeprecated::class, ExperimentalStdlibApi::class)
import kotlin.native.concurrent.*
import kotlin.native.internal.Debugging