diff --git a/kotlin-native/backend.native/tests/filecheck/kt53261/kt53261_noinline_NonNullNativePtr.kt b/kotlin-native/backend.native/tests/filecheck/kt53261/kt53261_noinline_NonNullNativePtr.kt index 1d747491f18..b06237b63be 100644 --- a/kotlin-native/backend.native/tests/filecheck/kt53261/kt53261_noinline_NonNullNativePtr.kt +++ b/kotlin-native/backend.native/tests/filecheck/kt53261/kt53261_noinline_NonNullNativePtr.kt @@ -11,6 +11,7 @@ import kotlinx.cinterop.* fun main() = memScoped { val var1: IntVar = alloc() val var2: IntVar = alloc() - @Suppress("INVISIBLE_MEMBER") + // The first one is K1, the second one is K2. + @Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") println(var1.ptr.value as Any == var2.ptr.value as Any) }