[K/N][Tests] Move filecheck and cinterop tests to /native/

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-02-14 13:07:40 +01:00
committed by Space Team
parent 05cbe66ee0
commit bf0150108d
144 changed files with 1683 additions and 5542 deletions
+19
View File
@@ -0,0 +1,19 @@
// TARGET_BACKEND: NATIVE
// FILECHECK_STAGE: CStubs
var i = 1
// CHECK-LABEL: define %struct.ObjHeader* @"kfun:#box(){}kotlin.String"
fun box(): String = when(i) {
0 -> "FAIL: 0"
1 -> "OK"
2 -> "FAIL: 2"
else -> "FAIL: else"
}
// CHECK: when_case
// CHECK: when_next
// CHECK: when_case1
// CHECK: when_next2
// CHECK: when_case3
// CHECK: when_next4
// CHECK: when_exit
// CHECK: ret void