cinterop tool should add ExperimentalForeignApi to all generated declarations by default. This commit prepares existing tests for this. ^KT-58362
12 lines
343 B
Kotlin
12 lines
343 B
Kotlin
/*
|
|
* Copyright 2010-2023 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.
|
|
*/
|
|
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
|
|
|
|
package kt55938lib
|
|
|
|
import objclib.*
|
|
|
|
inline fun foo() = ObjCClass.foo()
|