OptIn ExperimentalNativeApi
This commit is contained in:
committed by
Space Team
parent
aae8a687a4
commit
209c916a7e
@@ -10,6 +10,7 @@ import kotlin.concurrent.*
|
||||
var y = -1
|
||||
|
||||
fun box() : String {
|
||||
@OptIn(kotlin.experimental.ExperimentalNativeApi::class)
|
||||
if (Platform.memoryModel != MemoryModel.EXPERIMENTAL) {
|
||||
// The test doesn't make sense for legacy mm, you can't have anything non-atomic to protect with @Volatile var
|
||||
return "OK"
|
||||
|
||||
Reference in New Issue
Block a user