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"
}
