OptIn ExperimentalNativeApi

This commit is contained in:
Abduqodiri Qurbonzoda
2023-06-17 11:50:29 +03:00
committed by Space Team
parent aae8a687a4
commit 209c916a7e
94 changed files with 123 additions and 67 deletions
@@ -1,6 +1,7 @@
// This test is similar to kt42397, just everything is doubled: in "package knlibrary.subpackage" and the root package
// FILE: SecondLevelPackage.kt
@file:OptIn(kotlin.experimental.ExperimentalNativeApi::class)
package knlibrary.subpackage
import kotlin.native.Platform
@@ -19,6 +20,8 @@ fun enableMemoryChecker() {
}
// FILE: rootPackage.kt
@file:OptIn(kotlin.experimental.ExperimentalNativeApi::class)
object A {}
class B {