[K/N] Add diagnostic directives to test sources

^KT-61564
This commit is contained in:
Vladimir Sukharev
2023-11-22 21:35:37 +01:00
committed by Space Team
parent dbba6d09ff
commit 28ee61c57d
12 changed files with 34 additions and 22 deletions
@@ -1,7 +1,7 @@
// FIR_IDENTICAL
import kotlinx.cinterop.*
fun foo(f: Function1<in Int, Int>) = f
fun foo(f: Function1<<!REDUNDANT_PROJECTION!>in<!> Int, Int>) = f
@OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
fun bar() {
@@ -1,7 +1,7 @@
// FIR_IDENTICAL
import kotlinx.cinterop.*
fun foo(f: Function0<out Int>) = f
fun foo(f: Function0<<!REDUNDANT_PROJECTION!>out<!> Int>) = f
@OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
fun bar() {