[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
data class D(val x: Int, val y: Int, val z: Int)
|
||||
fun foo(): Int {
|
||||
val (x, y, z) = D(1, 2, 3)
|
||||
return y + z // x is not used, but we cannot do anything with it
|
||||
}
|
||||
fun bar(): Int {
|
||||
val (x, y, z) = D(1, 2, 3)
|
||||
return y + x // z is not used
|
||||
}
|
||||
Reference in New Issue
Block a user