[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
class Pair {
|
||||
operator fun component1(): Int = null!!
|
||||
operator fun component2(): Int = null!!
|
||||
}
|
||||
|
||||
class Coll {
|
||||
operator fun iterator(): It = It()
|
||||
}
|
||||
|
||||
class It {
|
||||
operator fun next() = Pair()
|
||||
operator fun hasNext() = false
|
||||
}
|
||||
|
||||
|
||||
fun f() {
|
||||
for (val i in 1..4) {
|
||||
|
||||
}
|
||||
|
||||
for (var i in 1..4) {
|
||||
|
||||
}
|
||||
|
||||
for (val (i,j) in Coll()) {
|
||||
|
||||
}
|
||||
|
||||
for (var (i,j) in Coll()) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user