[K/N] Add diagnostic directives to test sources
^KT-61564
This commit is contained in:
committed by
Space Team
parent
dbba6d09ff
commit
28ee61c57d
+1
-1
@@ -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
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user