[K/N] Add diagnostic directives to test sources
^KT-61564
This commit is contained in:
committed by
Space Team
parent
dbba6d09ff
commit
28ee61c57d
+2
@@ -1,2 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
|
||||
@Suppress("DEPRECATION")
|
||||
fun foo(arr: ShortArray) = immutableBlobOf(*arr)
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
|
||||
@Suppress("DEPRECATION")
|
||||
fun foo(x: Short) = immutableBlobOf(x)
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
|
||||
@Suppress("DEPRECATION")
|
||||
fun foo() = immutableBlobOf(1000)
|
||||
|
||||
+2
@@ -1,2 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@file:OptIn(kotlinx.cinterop.ExperimentalForeignApi::class)
|
||||
@Suppress("DEPRECATION")
|
||||
fun foo() = immutableBlobOf()
|
||||
|
||||
Reference in New Issue
Block a user