Files
kotlin-fork/compiler/testData/diagnostics/nativeTests/specialBackendChecks/cInterop/t40.kt
T
2024-01-09 14:17:47 +00:00

10 lines
108 B
Kotlin
Vendored

import kotlinx.cinterop.*
class Z {
fun foo(x: Int) = x
}
fun bar() {
staticCFunction(Z()::foo)
}