[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
//KT-2643 Support multi-declarations in Data-Flow analysis
|
||||
package n
|
||||
|
||||
class C {
|
||||
operator fun component1() = 1
|
||||
operator fun component2() = 2
|
||||
}
|
||||
|
||||
fun test1(c: C) {
|
||||
val (a, b) = c
|
||||
}
|
||||
|
||||
fun test2(c: C) {
|
||||
val (a, b) = c
|
||||
a + 3
|
||||
}
|
||||
|
||||
fun test3(c: C) {
|
||||
var (a, b) = c
|
||||
a = 3
|
||||
}
|
||||
|
||||
fun test4(c: C) {
|
||||
var (a, b) = c
|
||||
a = 3
|
||||
a + 1
|
||||
}
|
||||
Reference in New Issue
Block a user