Delete generated test cases, move testData to boxWithStdlib
This commit is contained in:
committed by
Alexander Udalov
parent
b311255d96
commit
714708eac7
@@ -0,0 +1,10 @@
|
||||
data class A(val x: Array<Int>, val y: IntArray)
|
||||
|
||||
fun foo(x: Array<Int>, y: IntArray) = A(x, y)
|
||||
|
||||
fun box(): String {
|
||||
val a = Array<Int>(0, {0})
|
||||
val b = IntArray(0)
|
||||
val (x, y) = foo(a, b)
|
||||
return if (a == x && b == y) "OK" else "Fail"
|
||||
}
|
||||
Reference in New Issue
Block a user