backend/tests: Add blackbox tests from Kotlin JVM
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
data class A(val x: String, val y: String)
|
||||
|
||||
inline fun foo(a: A, block: (A) -> String): String = block(a)
|
||||
|
||||
fun box() = foo(A("O", "K")) { (x, y) -> x + y }
|
||||
Reference in New Issue
Block a user