// !CHECK_TYPE data class A(val x: Int, val y: String) fun foo(a: A) { val (b, c) = a checkSubtype(b) checkSubtype(c) }