[K/N] Run irText tests for K1/Native

^KT-58240
This commit is contained in:
Vladimir Sukharev
2023-08-09 22:21:59 +02:00
committed by Space Team
parent 40c9f831e2
commit 3aa6c9e74d
69 changed files with 3376 additions and 73 deletions
@@ -5,6 +5,9 @@
// IGNORE_BACKEND_K1: JS_IR
// IGNORE_BACKEND_K1: JS_IR_ES6
// KT-61141: IrSimpleFunctionPublicSymbolImpl for /Derived.foo|foo(kotlin.String){}[0] is already bound
// IGNORE_BACKEND_K1: NATIVE
open class Base<T> {
fun foo(x: T) {}
fun foo(y: String) {}
+3
View File
@@ -1,6 +1,9 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
class TestClass
interface TestInterface
+2 -2
View File
@@ -1,7 +1,7 @@
// FIR_IDENTICAL
// SKIP_KLIB_TEST
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// STATUS: This should not work in JS, Cloneable is JVM-specific API
// TARGET_BACKEND: JVM
// STATUS: Cloneable is JVM-specific API
class A : Cloneable
+3
View File
@@ -5,6 +5,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57775
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
enum class TestEnum1 {
TEST1, TEST2
}
@@ -4,6 +4,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57775
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
enum class TestFinalEnum1 {
X1
}
@@ -4,6 +4,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57775
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
enum class A {
X("asd"),
Y() {
@@ -5,6 +5,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57775
// KT-61141: absent enum fake_overrides: finalize(K1), getDeclaringClass(K1), clone(K2),
// IGNORE_BACKEND: NATIVE
enum class Test0(val x: Int) {
ZERO;
constructor() : this(0)