OptIn ExperimentalNativeApi
This commit is contained in:
committed by
Space Team
parent
aae8a687a4
commit
209c916a7e
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user