[Tests][Native] Ignore some tests, not passed previous ABI testing
^KT-71957
diff --git a/compiler/testData/codegen/box/basics/kt75483.kt b/compiler/testData/codegen/box/basics/kt75483.kt
index 52d28c4..80b188c 100644
--- a/compiler/testData/codegen/box/basics/kt75483.kt
+++ b/compiler/testData/codegen/box/basics/kt75483.kt
@@ -4,6 +4,8 @@
*/
// IGNORE_BACKEND_K2: WASM
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ KT-75483: Bug in 2.1 native backend
interface FeatureFlag<OptionType : Any> {
val default: OptionType
diff --git a/compiler/testData/codegen/box/callableReference/adaptedReferences/extensionInSamWithPassedSupertype.kt b/compiler/testData/codegen/box/callableReference/adaptedReferences/extensionInSamWithPassedSupertype.kt
index a1916da..c37dba76 100644
--- a/compiler/testData/codegen/box/callableReference/adaptedReferences/extensionInSamWithPassedSupertype.kt
+++ b/compiler/testData/codegen/box/callableReference/adaptedReferences/extensionInSamWithPassedSupertype.kt
@@ -1,3 +1,5 @@
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This test fails under 2.1.0 compiler in FunctionReferenceLowering and passes on 2.2.0 and later
var result = ""
fun interface SamInterface {
diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFunctionInSAMInterface.kt b/compiler/testData/codegen/box/callableReference/function/extensionFunctionInSAMInterface.kt
index 463e3e5..6bf4958 100644
--- a/compiler/testData/codegen/box/callableReference/function/extensionFunctionInSAMInterface.kt
+++ b/compiler/testData/codegen/box/callableReference/function/extensionFunctionInSAMInterface.kt
@@ -1,3 +1,5 @@
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler with IndexOutOfBoundsException and passes on 2.2.0 and later
var result = ""
fun interface SamInterface {
diff --git a/compiler/testData/codegen/box/callableReference/function/extensionFunctionWithExtensionInSAMInterface.kt b/compiler/testData/codegen/box/callableReference/function/extensionFunctionWithExtensionInSAMInterface.kt
index 508dacf..f29a83a 100644
--- a/compiler/testData/codegen/box/callableReference/function/extensionFunctionWithExtensionInSAMInterface.kt
+++ b/compiler/testData/codegen/box/callableReference/function/extensionFunctionWithExtensionInSAMInterface.kt
@@ -1,3 +1,5 @@
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler with IndexOutOfBoundsException and passes on 2.2.0 and later
var result = ""
fun interface SamInterface {
diff --git a/compiler/testData/codegen/box/callableReference/function/extensionInDelegatedSam.kt b/compiler/testData/codegen/box/callableReference/function/extensionInDelegatedSam.kt
index 435eb8a..61aeae1 100644
--- a/compiler/testData/codegen/box/callableReference/function/extensionInDelegatedSam.kt
+++ b/compiler/testData/codegen/box/callableReference/function/extensionInDelegatedSam.kt
@@ -1,3 +1,5 @@
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler with IndexOutOfBoundsException and passes on 2.2.0 and later
fun interface Base {
fun String.print(): String
}
diff --git a/compiler/testData/codegen/box/coroutines/varSpilling/kt75926.kt b/compiler/testData/codegen/box/coroutines/varSpilling/kt75926.kt
index fedaa5c..c8ea28e 100644
--- a/compiler/testData/codegen/box/coroutines/varSpilling/kt75926.kt
+++ b/compiler/testData/codegen/box/coroutines/varSpilling/kt75926.kt
@@ -1,5 +1,8 @@
// WITH_STDLIB
// WITH_COROUTINES
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler and passes on 2.2.0 and later
+
import helpers.*
import kotlin.coroutines.*
import kotlin.coroutines.intrinsics.*
diff --git a/compiler/testData/codegen/box/defaultArguments/constructor/anonymousObjectAsDefaultParam.kt b/compiler/testData/codegen/box/defaultArguments/constructor/anonymousObjectAsDefaultParam.kt
index 67f212a..261d3a8 100644
--- a/compiler/testData/codegen/box/defaultArguments/constructor/anonymousObjectAsDefaultParam.kt
+++ b/compiler/testData/codegen/box/defaultArguments/constructor/anonymousObjectAsDefaultParam.kt
@@ -1,4 +1,7 @@
// ISSUE: KT-74739
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ KT-74739: This new test fails under 2.1.0 compiler and passes on 2.2.0 and later
+
// FILE: A.kt
open class FooA(val string: String)
diff --git a/compiler/testData/codegen/box/inference/capturedTypeWhenSubject.kt b/compiler/testData/codegen/box/inference/capturedTypeWhenSubject.kt
index f62b9af..c7e72cf 100644
--- a/compiler/testData/codegen/box/inference/capturedTypeWhenSubject.kt
+++ b/compiler/testData/codegen/box/inference/capturedTypeWhenSubject.kt
@@ -1,4 +1,7 @@
// IGNORE_NATIVE: compatibilityTestMode=BACKWARD
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler and passes on 2.2.0 and later
+
// DUMP_IR
sealed interface OperandType<J> {
fun operand1(instruction: OneOperand<*, *>): J = instruction.operand1 as J
diff --git a/compiler/testData/codegen/box/inline/kt67024.kt b/compiler/testData/codegen/box/inline/kt67024.kt
index 24c769b..f5eb03c 100644
--- a/compiler/testData/codegen/box/inline/kt67024.kt
+++ b/compiler/testData/codegen/box/inline/kt67024.kt
@@ -1,5 +1,8 @@
// Should be fixed in WASM as side effect of KT-74392
// IGNORE_BACKEND: WASM
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler and passes on 2.2.0 and later
+
inline fun <reified T> id(x: T) = x
diff --git a/compiler/testData/codegen/box/inline/kt67866.kt b/compiler/testData/codegen/box/inline/kt67866.kt
index c2426f9..9f5d067 100644
--- a/compiler/testData/codegen/box/inline/kt67866.kt
+++ b/compiler/testData/codegen/box/inline/kt67866.kt
@@ -1,5 +1,8 @@
// Should be fixed in WASM as side effect of KT-74392
// IGNORE_BACKEND: WASM
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler and passes on 2.2.0 and later
+
inline val <reified T> T.id: T
get() = (this as Any) as T
diff --git a/compiler/testData/codegen/box/inline/kt69041.kt b/compiler/testData/codegen/box/inline/kt69041.kt
index 2f96fb5..5e1715f 100644
--- a/compiler/testData/codegen/box/inline/kt69041.kt
+++ b/compiler/testData/codegen/box/inline/kt69041.kt
@@ -1,5 +1,7 @@
// Should be fixed in WASM as side effect of KT-74392
// IGNORE_BACKEND: WASM
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ This new test fails under 2.1.0 compiler with IndexOutOfBoundsException and passes on 2.2.0 and later
class A {
inline fun <reified T> foo(x: T) = x
diff --git a/compiler/testData/codegen/box/nonLocalReturns/suspendConversion.kt b/compiler/testData/codegen/box/nonLocalReturns/suspendConversion.kt
index 8656233..906e231 100644
--- a/compiler/testData/codegen/box/nonLocalReturns/suspendConversion.kt
+++ b/compiler/testData/codegen/box/nonLocalReturns/suspendConversion.kt
@@ -1,6 +1,8 @@
// ISSUE: KT-72464
// IGNORE_BACKEND: WASM
// IGNORE_INLINER: IR
+// IGNORE_NATIVE: compatibilityTestMode=FORWARD
+// ^^^ KT-72464: Bug in 2.1 native backend
// WITH_STDLIB
// WITH_COROUTINES