[K/N][Tests] Migrate tests kt49034*.kt
^KT-61259
This commit is contained in:
committed by
Space Team
parent
ae09c0fb60
commit
bd688b3ef7
@@ -1 +0,0 @@
|
||||
language = Objective-C
|
||||
@@ -1,2 +0,0 @@
|
||||
@class __darwin_fp_control;
|
||||
void foo(__darwin_fp_control*);
|
||||
@@ -1,13 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
import objcnames.classes.__darwin_fp_control
|
||||
|
||||
open class C<T : kotlinx.cinterop.ObjCObject>
|
||||
|
||||
class D : C<__darwin_fp_control>()
|
||||
|
||||
fun main() {
|
||||
println(D())
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
import kt49034.bar
|
||||
import cnames.structs.JSContext
|
||||
import kotlinx.cinterop.CPointer
|
||||
|
||||
fun baz(s: CPointer<JSContext>) {
|
||||
println(s)
|
||||
}
|
||||
|
||||
fun main() {
|
||||
baz(bar()!!)
|
||||
}
|
||||
Reference in New Issue
Block a user