[Native][tests] Add ExperimentalContracts OPT_IN directive for kt47300.kt

Without this directive the test can't be compiled by Kotlin/Native, because the box() function which is annotated with @ExperimentalContracts is called from the generated test runner source code that itself is not marked by this annotation.
This commit is contained in:
Dmitriy Dolovov
2021-11-09 13:31:17 +03:00
parent e7caaa464e
commit 1e8dbd4846
+1
View File
@@ -1,3 +1,4 @@
// !OPT_IN: kotlin.contracts.ExperimentalContracts
// WITH_RUNTIME
import kotlin.contracts.ExperimentalContracts