Native: add tests for ExperimentalForeignApi on cinterop declarations

Add tests checking that all (top-level) declarations generated by
cinterop now have ExperimentalForeignApi annotation.

^KT-58362
This commit is contained in:
Svyatoslav Scherbina
2023-07-19 15:41:32 +02:00
committed by Space Team
parent 3f3f6eb5a8
commit bcc4a891be
30 changed files with 345 additions and 0 deletions
@@ -0,0 +1,6 @@
package dependency {
@CCall(id = "knifunptr_dependency1_bar") @ExperimentalForeignApi external fun bar()
@CCall(id = "knifunptr_dependency0_foo") @ExperimentalForeignApi external fun foo()
}
@@ -0,0 +1 @@
headers = function.h