[K/N] Add failed test for KT-63049
^KT-63049
This commit is contained in:
committed by
Space Team
parent
fa33c5dc79
commit
b1508a49ac
@@ -0,0 +1,23 @@
|
||||
// TARGET_BACKEND: NATIVE
|
||||
// MODULE: cinterop
|
||||
// FILE: kt63049.def
|
||||
depends = Foundation
|
||||
language = Objective-C
|
||||
---
|
||||
@interface WithClassProperty
|
||||
@end
|
||||
|
||||
// MODULE: main(cinterop)
|
||||
// FILE: main.kt
|
||||
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class, kotlin.experimental.ExperimentalObjCName::class)
|
||||
|
||||
import kt63049.*
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class Impl : WithClassProperty() {
|
||||
companion object : WithClassPropertyMeta() {
|
||||
fun stringProperty(): String? = "OK"
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = Impl.stringProperty()
|
||||
+6
@@ -4832,6 +4832,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63048.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63049.kt")
|
||||
public void testKt63049() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63049.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("leakMemoryWithRunningThreadUnchecked.kt")
|
||||
public void testLeakMemoryWithRunningThreadUnchecked() throws Exception {
|
||||
|
||||
+6
@@ -4942,6 +4942,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63048.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63049.kt")
|
||||
public void testKt63049() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63049.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("leakMemoryWithRunningThreadUnchecked.kt")
|
||||
public void testLeakMemoryWithRunningThreadUnchecked() throws Exception {
|
||||
|
||||
+6
@@ -4722,6 +4722,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63048.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63049.kt")
|
||||
public void testKt63049() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63049.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("leakMemoryWithRunningThreadUnchecked.kt")
|
||||
public void testLeakMemoryWithRunningThreadUnchecked() throws Exception {
|
||||
|
||||
+6
@@ -4833,6 +4833,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63048.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt63049.kt")
|
||||
public void testKt63049() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/cinterop/kt63049.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("leakMemoryWithRunningThreadUnchecked.kt")
|
||||
public void testLeakMemoryWithRunningThreadUnchecked() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user