diff --git a/compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt b/compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt index 81cc76869d7..25c4b4546af 100644 --- a/compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt +++ b/compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +NestedClassesInAnnotations -// IGNORE_BACKEND: NATIVE annotation class Foo(val kind: Kind) { enum class Kind { FAIL, OK } diff --git a/compiler/testData/codegen/box/binaryOp/eqNullableToPrimitiveWithSideEffects.kt b/compiler/testData/codegen/box/binaryOp/eqNullableToPrimitiveWithSideEffects.kt index cf8fd67cdfe..2ab2f79d759 100644 --- a/compiler/testData/codegen/box/binaryOp/eqNullableToPrimitiveWithSideEffects.kt +++ b/compiler/testData/codegen/box/binaryOp/eqNullableToPrimitiveWithSideEffects.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, JS_IR, WASM, NATIVE +// IGNORE_BACKEND: JS, JS_IR, WASM var result = "" fun sideEffecting(): Int { diff --git a/compiler/testData/codegen/box/callableReference/bound/multiCase.kt b/compiler/testData/codegen/box/callableReference/bound/multiCase.kt index 08af3dd78ca..1ffad7fac0e 100644 --- a/compiler/testData/codegen/box/callableReference/bound/multiCase.kt +++ b/compiler/testData/codegen/box/callableReference/bound/multiCase.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE class A(var v: Int) { fun f(x: Int) = x * v } diff --git a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt index a154316a52b..66d1b2e5b10 100644 --- a/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt +++ b/compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE var result = "Fail" fun foo( diff --git a/compiler/testData/codegen/box/callableReference/kt49526_sam.kt b/compiler/testData/codegen/box/callableReference/kt49526_sam.kt index 976f6a9b8df..b6fc93d5466 100644 --- a/compiler/testData/codegen/box/callableReference/kt49526_sam.kt +++ b/compiler/testData/codegen/box/callableReference/kt49526_sam.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: JVM // IGNORE_LIGHT_ANALYSIS -// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND_FIR: JVM_IR // FIR_STATUS: LambdaConversionException: Type mismatch for lambda argument 1: class java.lang.Object is not convertible to interface I1 diff --git a/compiler/testData/codegen/box/callableReference/kt49526a.kt b/compiler/testData/codegen/box/callableReference/kt49526a.kt index 041c1fc1908..77b9bf8630d 100644 --- a/compiler/testData/codegen/box/callableReference/kt49526a.kt +++ b/compiler/testData/codegen/box/callableReference/kt49526a.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - fun id(x: T): T = x fun intersect(x: T, y: T): T = x diff --git a/compiler/testData/codegen/box/callableReference/kt49526b.kt b/compiler/testData/codegen/box/callableReference/kt49526b.kt index fe3d3a1076a..e59e73085e0 100644 --- a/compiler/testData/codegen/box/callableReference/kt49526b.kt +++ b/compiler/testData/codegen/box/callableReference/kt49526b.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - // WITH_STDLIB inline fun useRef(value: T, f: (T) -> Boolean) = f(value) diff --git a/compiler/testData/codegen/box/callableReference/property/genericProperty.kt b/compiler/testData/codegen/box/callableReference/property/genericProperty.kt index 1fc5510e830..1861708a808 100644 --- a/compiler/testData/codegen/box/callableReference/property/genericProperty.kt +++ b/compiler/testData/codegen/box/callableReference/property/genericProperty.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -ForbidUsingExtensionPropertyTypeParameterInDelegate -// IGNORE_BACKEND: NATIVE //For KT-6020 import kotlin.reflect.KProperty1 import kotlin.reflect.KMutableProperty1 diff --git a/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt index e486a8ae99d..1b1bf72df17 100644 --- a/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/asFunKSmall.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS fun fn0() {} fun fn1(x: Any) {} diff --git a/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt index 89dc5f7c0ed..d530785772e 100644 --- a/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt +++ b/compiler/testData/codegen/box/casts/functions/reifiedAsFunKSmall.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS fun fn0() {} fun fn1(x: Any) {} diff --git a/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt b/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt index d9b02895c66..4b9b300dace 100644 --- a/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt +++ b/compiler/testData/codegen/box/casts/mutableCollections/weirdMutableCasts.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS // WITH_STDLIB diff --git a/compiler/testData/codegen/box/classes/extensionFunWithDefaultParam.kt b/compiler/testData/codegen/box/classes/extensionFunWithDefaultParam.kt index bac3e01f9af..223ad7ed22b 100644 --- a/compiler/testData/codegen/box/classes/extensionFunWithDefaultParam.kt +++ b/compiler/testData/codegen/box/classes/extensionFunWithDefaultParam.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - open class MyLogic { protected open val postfix = "ZZZ" open fun String.foo(prefix: String = "XXX"): String = transform(prefix + this + postfix) diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt index 9007ec283d1..7d71d565b19 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // MODULE: lib // FILE: A.kt diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt index c3fa03f120e..56a3c70ca89 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // MODULE: lib // FILE: A.kt diff --git a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateSuperType.kt b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateSuperType.kt index 64a6bcf6ffb..06fbe7a80ef 100644 --- a/compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateSuperType.kt +++ b/compiler/testData/codegen/box/compileKotlinAgainstKotlin/privateSuperType.kt @@ -1,3 +1,5 @@ +// Fails on native when run with `-Pkotlin.internal.native.test.cacheMode=STATIC_EVERYWHERE`. +// Looks like the call to `k` fails as `k` is not exported from the lib module. // IGNORE_BACKEND: NATIVE // MODULE: lib // FILE: Z.kt diff --git a/compiler/testData/codegen/box/constants/kt9532.kt b/compiler/testData/codegen/box/constants/kt9532.kt index b6a02e1082e..5e52a8666d6 100644 --- a/compiler/testData/codegen/box/constants/kt9532.kt +++ b/compiler/testData/codegen/box/constants/kt9532.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: MINOR: CONST_EQUIVALENCE -// IGNORE_BACKEND: NATIVE object A { const val a: String = "$" diff --git a/compiler/testData/codegen/box/contracts/constructorArgument.kt b/compiler/testData/codegen/box/contracts/constructorArgument.kt index 0707b6c4bfc..4e5a032a9c6 100644 --- a/compiler/testData/codegen/box/contracts/constructorArgument.kt +++ b/compiler/testData/codegen/box/contracts/constructorArgument.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/destructuredVariable.kt b/compiler/testData/codegen/box/contracts/destructuredVariable.kt index b114dee8189..248080c450a 100644 --- a/compiler/testData/codegen/box/contracts/destructuredVariable.kt +++ b/compiler/testData/codegen/box/contracts/destructuredVariable.kt @@ -1,5 +1,5 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE, JS +// IGNORE_BACKEND: JS // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt b/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt index 386b9f2da1e..d17a2a72a64 100644 --- a/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt +++ b/compiler/testData/codegen/box/contracts/exactlyOnceNotInline.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/exception.kt b/compiler/testData/codegen/box/contracts/exception.kt index 5764dd4f6ad..94e7a0b5a42 100644 --- a/compiler/testData/codegen/box/contracts/exception.kt +++ b/compiler/testData/codegen/box/contracts/exception.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/fieldInConstructorParens.kt b/compiler/testData/codegen/box/contracts/fieldInConstructorParens.kt index 5d7b799fd30..4c9404f4131 100644 --- a/compiler/testData/codegen/box/contracts/fieldInConstructorParens.kt +++ b/compiler/testData/codegen/box/contracts/fieldInConstructorParens.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt b/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt index 50242860f41..c89b113e19a 100644 --- a/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt +++ b/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/forLoop.kt b/compiler/testData/codegen/box/contracts/forLoop.kt index ede4070a20e..0f8b830cf5b 100644 --- a/compiler/testData/codegen/box/contracts/forLoop.kt +++ b/compiler/testData/codegen/box/contracts/forLoop.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/functionParameter.kt b/compiler/testData/codegen/box/contracts/functionParameter.kt index a16f509dd1b..a163847c22a 100644 --- a/compiler/testData/codegen/box/contracts/functionParameter.kt +++ b/compiler/testData/codegen/box/contracts/functionParameter.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/kt47168.kt b/compiler/testData/codegen/box/contracts/kt47168.kt index abc5e20b39c..6d433e78721 100644 --- a/compiler/testData/codegen/box/contracts/kt47168.kt +++ b/compiler/testData/codegen/box/contracts/kt47168.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE import kotlin.contracts.* inline fun foo(x: () -> String, y: () -> String): String { diff --git a/compiler/testData/codegen/box/contracts/lambdaParameter.kt b/compiler/testData/codegen/box/contracts/lambdaParameter.kt index 472ed15133e..a939dc388cd 100644 --- a/compiler/testData/codegen/box/contracts/lambdaParameter.kt +++ b/compiler/testData/codegen/box/contracts/lambdaParameter.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/listAppend.kt b/compiler/testData/codegen/box/contracts/listAppend.kt index fb877991a6f..31139e63019 100644 --- a/compiler/testData/codegen/box/contracts/listAppend.kt +++ b/compiler/testData/codegen/box/contracts/listAppend.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/contracts/valInWhen.kt b/compiler/testData/codegen/box/contracts/valInWhen.kt index 949da9bde3f..c70bddf38c4 100644 --- a/compiler/testData/codegen/box/contracts/valInWhen.kt +++ b/compiler/testData/codegen/box/contracts/valInWhen.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.contracts.* diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bigArity.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bigArity.kt index c0078feaca1..f5f393ba275 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bigArity.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/bigArity.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES import helpers.* diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt index 3f9a13de024..a7d9fb61525 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/function/genericCallableReferencesWithNullableTypes.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_REFLECT // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionIsAs.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionIsAs.kt index 1a2d1e21f9d..7a4cc41ddb5 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionIsAs.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/suspendFunctionIsAs.kt @@ -1,6 +1,5 @@ // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: SUSPEND_FUNCTION_CAST -// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/kt25912.kt b/compiler/testData/codegen/box/coroutines/kt25912.kt index ca4aca6113a..2653abd9772 100644 --- a/compiler/testData/codegen/box/coroutines/kt25912.kt +++ b/compiler/testData/codegen/box/coroutines/kt25912.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: NATIVE import helpers.* import kotlin.coroutines.* diff --git a/compiler/testData/codegen/box/coroutines/kt28844.kt b/compiler/testData/codegen/box/coroutines/kt28844.kt index f45b3905cf3..7fcd13492de 100644 --- a/compiler/testData/codegen/box/coroutines/kt28844.kt +++ b/compiler/testData/codegen/box/coroutines/kt28844.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: NATIVE import helpers.* import kotlin.coroutines.* diff --git a/compiler/testData/codegen/box/coroutines/kt30858.kt b/compiler/testData/codegen/box/coroutines/kt30858.kt index 4648981b735..9ec7bb0d6fc 100644 --- a/compiler/testData/codegen/box/coroutines/kt30858.kt +++ b/compiler/testData/codegen/box/coroutines/kt30858.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt index 6a5a314ddc6..2c854cfb6c8 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineCrossModule.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_COROUTINES // WITH_STDLIB // MODULE: lib(support) diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt index 2edd7036a8f..d37702a1a11 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // WITH_COROUTINES // WITH_STDLIB diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt index 335e2d9015e..2bafb3fe294 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineTailCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES // MODULE: lib diff --git a/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt b/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt index 86855762575..8916a343c14 100644 --- a/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt +++ b/compiler/testData/codegen/box/coroutines/simpleSuspendCallableReference.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +ReleaseCoroutines -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES import helpers.* diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt index 2e61031ac67..bb6d30fadc4 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/intersectionTypeToSubtypeConversion.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +SuspendConversion // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: JVM, NATIVE, JS, JS_IR +// IGNORE_BACKEND: JVM, JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: WASM diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt index 4cf2faa2a09..a49f5ec3c6c 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/onArgument.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +SuspendConversion // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: JVM, NATIVE +// IGNORE_BACKEND: JVM // IGNORE_LIGHT_ANALYSIS import helpers.* diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt index f7b2a684865..53b268fe374 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +SuspendConversion // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: JVM, NATIVE +// IGNORE_BACKEND: JVM // IGNORE_LIGHT_ANALYSIS // `lambda` should not be wrapped in yet another object (so no OnInlineArgumentKt$box$1$1). diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt b/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt index af1c49d42ec..966652cb224 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/subtypeOfFunctionalTypeToSuspendConversion.kt @@ -1,7 +1,7 @@ // !LANGUAGE: +SuspendConversion // WITH_STDLIB // WITH_COROUTINES -// IGNORE_BACKEND: JVM, NATIVE, JS, JS_IR +// IGNORE_BACKEND: JVM, JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_LIGHT_ANALYSIS // IGNORE_BACKEND: WASM diff --git a/compiler/testData/codegen/box/enum/objectInEnum.kt b/compiler/testData/codegen/box/enum/objectInEnum.kt index 1fc2ffcd2d0..aea0b5e7e4e 100644 --- a/compiler/testData/codegen/box/enum/objectInEnum.kt +++ b/compiler/testData/codegen/box/enum/objectInEnum.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -NestedClassesInEnumEntryShouldBeInner -// IGNORE_BACKEND: NATIVE enum class E { ENTRY, diff --git a/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt b/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt index a29c56f7142..c72ad2a2038 100644 --- a/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt +++ b/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE fun box(): String { if (0.toByte().compareTo(-0.0) != 1) return "fail 1.1" if (0.toByte().compareTo(-0.0F) != 1) return "fail 1.2" diff --git a/compiler/testData/codegen/box/inlineClasses/jvmInline.kt b/compiler/testData/codegen/box/inlineClasses/jvmInline.kt index dcf47d75322..f575fd90e8e 100644 --- a/compiler/testData/codegen/box/inlineClasses/jvmInline.kt +++ b/compiler/testData/codegen/box/inlineClasses/jvmInline.kt @@ -1,6 +1,5 @@ // WITH_STDLIB // IGNORE_BACKEND: ANDROID -// IGNORE_BACKEND: NATIVE // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt index c1b957f9023..91857de6cbc 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformType.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_BACKEND: NATIVE // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses diff --git a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformTypeGeneric.kt b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformTypeGeneric.kt index 5b816dc6a43..dcfa04347e2 100644 --- a/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformTypeGeneric.kt +++ b/compiler/testData/codegen/box/inlineClasses/unboxValueFromPlatformTypeGeneric.kt @@ -1,5 +1,4 @@ // WITH_STDLIB -// IGNORE_BACKEND: NATIVE // WORKS_WHEN_VALUE_CLASS // LANGUAGE: +ValueClasses, +GenericInlineClassParameter diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt b/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt index 170849f7b29..2519d6eeaea 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/deepGenericDelegatedProperty.kt @@ -1,7 +1,6 @@ // !LANGUAGE: -ForbidUsingExtensionPropertyTypeParameterInDelegate // IGNORE_BACKEND: WASM // WASM_MUTE_REASON: IGNORED_IN_NATIVE -// IGNORE_BACKEND: NATIVE // SKIP_MANGLE_VERIFICATION //For KT-6020 diff --git a/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt b/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt index 35c75883e68..6e728138b95 100644 --- a/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt +++ b/compiler/testData/codegen/box/ir/serializationRegressions/genericProperty.kt @@ -1,5 +1,4 @@ // !LANGUAGE: -ForbidUsingExtensionPropertyTypeParameterInDelegate -// IGNORE_BACKEND: NATIVE //For KT-6020 // MODULE: lib diff --git a/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt b/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt index 9918940645c..6fd692175ee 100644 --- a/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt +++ b/compiler/testData/codegen/box/multiplatform/defaultArguments/suspend.kt @@ -1,7 +1,6 @@ // !LANGUAGE: +MultiPlatformProjects // IGNORE_BACKEND_FIR: JVM_IR // FIR status: default argument mapping in MPP isn't designed yet -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt b/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt index 4916436b4d2..d0180b0874b 100644 --- a/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt +++ b/compiler/testData/codegen/box/primitiveTypes/stringEqualsHashCodeToString.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - fun test(s: String) { if (!s.equals(s)) throw Error("fail 1 for $s") if (s.equals(1)) throw Error("fail 2 for $s") diff --git a/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt b/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt index 6315309063d..505cffffcce 100644 --- a/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt +++ b/compiler/testData/codegen/box/properties/lazyInitializationCyclicImports.kt @@ -1,5 +1,7 @@ -// IGNORE_BACKEND: JS +// Fails on native with legacy memory manager. To reproduce, run with +// -Pkotlin.internal.native.test.memoryModel=LEGACY -Pkotlin.internal.native.test.cacheMode=NO // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS // PROPERTY_LAZY_INITIALIZATION // FILE: A.kt diff --git a/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt b/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt index b1398cb7524..7df0af8fbe4 100644 --- a/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt +++ b/compiler/testData/codegen/box/ranges/contains/inRangeWithSmartCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.test.assertTrue diff --git a/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt index 9f640b34e9c..6b06f9c5ca8 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/annotationClassLiteral.kt @@ -1,5 +1,5 @@ // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE, WASM +// IGNORE_BACKEND: JS, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt index 5c0fabfb976..c80289cb43b 100644 --- a/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt +++ b/compiler/testData/codegen/box/reflection/classLiterals/genericClass.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // WITH_REFLECT import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/constructors/constructorName.kt b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt index 37a9aaa3759..1b9f9636630 100644 --- a/compiler/testData/codegen/box/reflection/constructors/constructorName.kt +++ b/compiler/testData/codegen/box/reflection/constructors/constructorName.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS, NATIVE +// IGNORE_BACKEND: JS // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt index 9a7698c08a8..26d3b55cf1a 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/functionEqualsHashCode.kt @@ -1,7 +1,6 @@ // IGNORE_BACKEND: JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt index 4ed178e8e0d..8f8601d1c28 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/propertyEqualsHashCode.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JS -// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt index 0da5d7876d5..4bb83789ffc 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/methodsFromAny/delegatedProperty.kt @@ -1,7 +1,6 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // IGNORE_BACKEND: JS -// IGNORE_BACKEND: NATIVE // WITH_STDLIB import kotlin.reflect.KProperty diff --git a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt index 9635e0645a9..741a7e35a3c 100644 --- a/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt +++ b/compiler/testData/codegen/box/reflection/noReflectAtRuntime/simpleClassLiterals.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - // WITH_STDLIB import kotlin.test.assertNotNull diff --git a/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt b/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt index ec6f07e6773..c829972e507 100644 --- a/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt +++ b/compiler/testData/codegen/box/reflection/types/innerGenericArguments.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE, WASM +// IGNORE_BACKEND: JS, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/typeArguments.kt b/compiler/testData/codegen/box/reflection/types/typeArguments.kt index 025b8a14c58..504db35c889 100644 --- a/compiler/testData/codegen/box/reflection/types/typeArguments.kt +++ b/compiler/testData/codegen/box/reflection/types/typeArguments.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE, WASM +// IGNORE_BACKEND: JS, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt b/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt index 63f0ecd3653..8b8d381ddb5 100644 --- a/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt +++ b/compiler/testData/codegen/box/reflection/types/useSiteVariance.kt @@ -1,7 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE, WASM +// IGNORE_BACKEND: JS, WASM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/regressions/kt6434.kt b/compiler/testData/codegen/box/regressions/kt6434.kt index c767c63c6e9..f2b8e51ad40 100644 --- a/compiler/testData/codegen/box/regressions/kt6434.kt +++ b/compiler/testData/codegen/box/regressions/kt6434.kt @@ -1,8 +1,7 @@ // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 // TODO: muted automatically, investigate should it be ran for JS or not -// IGNORE_BACKEND: JS, NATIVE - +// IGNORE_BACKEND: JS // WITH_STDLIB enum class E { diff --git a/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt b/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt index 747fb11092b..0e385c6fc30 100644 --- a/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt +++ b/compiler/testData/codegen/box/specialBuiltins/irrelevantRemoveAtOverride.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - interface Container { fun removeAt(x: Int): String } diff --git a/compiler/testData/codegen/box/specialBuiltins/maps.kt b/compiler/testData/codegen/box/specialBuiltins/maps.kt index e16c06cba11..d3dedeef878 100644 --- a/compiler/testData/codegen/box/specialBuiltins/maps.kt +++ b/compiler/testData/codegen/box/specialBuiltins/maps.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - class A : Map { override val size: Int get() = 56 diff --git a/compiler/testData/codegen/box/specialBuiltins/noSpecialBridgeInSuperClass.kt b/compiler/testData/codegen/box/specialBuiltins/noSpecialBridgeInSuperClass.kt index 8857356fa06..df49fe5a5cb 100644 --- a/compiler/testData/codegen/box/specialBuiltins/noSpecialBridgeInSuperClass.kt +++ b/compiler/testData/codegen/box/specialBuiltins/noSpecialBridgeInSuperClass.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - var result = "" public abstract class AbstractFoo : Map { diff --git a/compiler/testData/codegen/box/specialBuiltins/removeAtTwoSpecialBridges.kt b/compiler/testData/codegen/box/specialBuiltins/removeAtTwoSpecialBridges.kt index 7ab209eefea..86f4b09d05c 100644 --- a/compiler/testData/codegen/box/specialBuiltins/removeAtTwoSpecialBridges.kt +++ b/compiler/testData/codegen/box/specialBuiltins/removeAtTwoSpecialBridges.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - open class A0 : MutableList { override fun add(element: E): Boolean { throw UnsupportedOperationException() diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt index 86bf85fd7eb..8fe08c56a5f 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - // WITH_STDLIB import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt index 86bf85fd7eb..8fe08c56a5f 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode2.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - // WITH_STDLIB import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt index 1fa65a783de..b4fcad5cb59 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/duplicatingItemsSameHashCode3.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - // WITH_STDLIB import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt b/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt index 133e7a52d41..0ce40009425 100644 --- a/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt +++ b/compiler/testData/codegen/box/when/stringOptimization/sameHashCode.kt @@ -1,5 +1,3 @@ -// IGNORE_BACKEND: NATIVE - // WITH_STDLIB import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/boxInline/contracts/cfgDependendValInitialization.kt b/compiler/testData/codegen/boxInline/contracts/cfgDependendValInitialization.kt index ac24e9d0fa2..160bfece06a 100644 --- a/compiler/testData/codegen/boxInline/contracts/cfgDependendValInitialization.kt +++ b/compiler/testData/codegen/boxInline/contracts/cfgDependendValInitialization.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/complexInitializer.kt b/compiler/testData/codegen/boxInline/contracts/complexInitializer.kt index 2e521788d09..36286e05de5 100644 --- a/compiler/testData/codegen/boxInline/contracts/complexInitializer.kt +++ b/compiler/testData/codegen/boxInline/contracts/complexInitializer.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/complexInitializerWithStackTransformation.kt b/compiler/testData/codegen/boxInline/contracts/complexInitializerWithStackTransformation.kt index b959fb31ecf..190cc848392 100644 --- a/compiler/testData/codegen/boxInline/contracts/complexInitializerWithStackTransformation.kt +++ b/compiler/testData/codegen/boxInline/contracts/complexInitializerWithStackTransformation.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/crossinlineCallableReference.kt b/compiler/testData/codegen/boxInline/contracts/crossinlineCallableReference.kt index f0380117e30..f7de855fd74 100644 --- a/compiler/testData/codegen/boxInline/contracts/crossinlineCallableReference.kt +++ b/compiler/testData/codegen/boxInline/contracts/crossinlineCallableReference.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/definiteLongValInitialization.kt b/compiler/testData/codegen/boxInline/contracts/definiteLongValInitialization.kt index 67fa8c60790..b1abc2cbbcd 100644 --- a/compiler/testData/codegen/boxInline/contracts/definiteLongValInitialization.kt +++ b/compiler/testData/codegen/boxInline/contracts/definiteLongValInitialization.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/definiteNestedValInitialization.kt b/compiler/testData/codegen/boxInline/contracts/definiteNestedValInitialization.kt index 1612f45da1d..68fe0025f53 100644 --- a/compiler/testData/codegen/boxInline/contracts/definiteNestedValInitialization.kt +++ b/compiler/testData/codegen/boxInline/contracts/definiteNestedValInitialization.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/definiteValInitInInitializer.kt b/compiler/testData/codegen/boxInline/contracts/definiteValInitInInitializer.kt index b95bf7ebf41..739023108ca 100644 --- a/compiler/testData/codegen/boxInline/contracts/definiteValInitInInitializer.kt +++ b/compiler/testData/codegen/boxInline/contracts/definiteValInitInInitializer.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/definiteValInitialization.kt b/compiler/testData/codegen/boxInline/contracts/definiteValInitialization.kt index ef00b7e836a..1542d914a71 100644 --- a/compiler/testData/codegen/boxInline/contracts/definiteValInitialization.kt +++ b/compiler/testData/codegen/boxInline/contracts/definiteValInitialization.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline.kt b/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline.kt index 81333b264a9..1a36ab05666 100644 --- a/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline.kt +++ b/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline2.kt b/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline2.kt index 58bb66169e5..1e09ade9996 100644 --- a/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline2.kt +++ b/compiler/testData/codegen/boxInline/contracts/exactlyOnceCrossinline2.kt @@ -1,5 +1,5 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE + // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/contracts/exactlyOnceNoinline.kt b/compiler/testData/codegen/boxInline/contracts/exactlyOnceNoinline.kt index ad0b7d764ef..e0ed7c4eb8d 100644 --- a/compiler/testData/codegen/boxInline/contracts/exactlyOnceNoinline.kt +++ b/compiler/testData/codegen/boxInline/contracts/exactlyOnceNoinline.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // NO_CHECK_LAMBDA_INLINING // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/nonLocalReturn.kt b/compiler/testData/codegen/boxInline/contracts/nonLocalReturn.kt index 00799ed4515..36a58b018db 100644 --- a/compiler/testData/codegen/boxInline/contracts/nonLocalReturn.kt +++ b/compiler/testData/codegen/boxInline/contracts/nonLocalReturn.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt b/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt index 9ca6a808715..26446696830 100644 --- a/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt +++ b/compiler/testData/codegen/boxInline/contracts/nonLocalReturnWithCycle.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // WITH_STDLIB // KJS_WITH_FULL_RUNTIME diff --git a/compiler/testData/codegen/boxInline/contracts/propertyInitialization.kt b/compiler/testData/codegen/boxInline/contracts/propertyInitialization.kt index 756540aca7e..efff6ab0b80 100644 --- a/compiler/testData/codegen/boxInline/contracts/propertyInitialization.kt +++ b/compiler/testData/codegen/boxInline/contracts/propertyInitialization.kt @@ -1,5 +1,4 @@ // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/contracts/valInitializationAndUsageInNestedLambda.kt b/compiler/testData/codegen/boxInline/contracts/valInitializationAndUsageInNestedLambda.kt index c38443f925f..dd3bd53d438 100644 --- a/compiler/testData/codegen/boxInline/contracts/valInitializationAndUsageInNestedLambda.kt +++ b/compiler/testData/codegen/boxInline/contracts/valInitializationAndUsageInNestedLambda.kt @@ -1,6 +1,5 @@ // NO_CHECK_LAMBDA_INLINING // !OPT_IN: kotlin.contracts.ExperimentalContracts -// IGNORE_BACKEND: NATIVE // FILE: 1.kt diff --git a/compiler/testData/codegen/boxInline/multiModule/tryCatchWithRecursiveInline.kt b/compiler/testData/codegen/boxInline/multiModule/tryCatchWithRecursiveInline.kt index 37a14120126..791f6b3395b 100644 --- a/compiler/testData/codegen/boxInline/multiModule/tryCatchWithRecursiveInline.kt +++ b/compiler/testData/codegen/boxInline/multiModule/tryCatchWithRecursiveInline.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: NATIVE // FILE: lib.kt inline fun T.andAlso(block: (T) -> Unit): T { block(this) diff --git a/compiler/testData/codegen/boxInline/multiplatform/defaultArguments/receiversAndParametersInLambda.kt b/compiler/testData/codegen/boxInline/multiplatform/defaultArguments/receiversAndParametersInLambda.kt index 1b19279f4e2..68ca44c05a9 100644 --- a/compiler/testData/codegen/boxInline/multiplatform/defaultArguments/receiversAndParametersInLambda.kt +++ b/compiler/testData/codegen/boxInline/multiplatform/defaultArguments/receiversAndParametersInLambda.kt @@ -7,7 +7,6 @@ // otherwise DCE keeps members of expect D referenced from lambdas in default arguments instead of members of actual D // IGNORE_BACKEND: JS, JS_IR // IGNORE_BACKEND: JS_IR_ES6 -// IGNORE_BACKEND: NATIVE // FILE: 1.kt