[K/N][tests] Migrate various runtime/ tests ^KT-61259

This commit is contained in:
Alexander Shabalin
2024-03-11 22:48:50 +01:00
committed by Space Team
parent 7ad4e58a7a
commit d88092aa94
99 changed files with 2102 additions and 1905 deletions
+13
View File
@@ -0,0 +1,13 @@
import kotlin.test.*
import kotlin.native.ref.*
class Node(var next: Node?)
@OptIn(kotlin.experimental.ExperimentalNativeApi::class)
@Test fun runTest1() {
val node1 = Node(null)
val node2 = Node(node1)
node1.next = node2
WeakReference(node1)
}