[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
fun testFor() {
|
||||
operator fun Nothing.iterator() = (0..1).iterator()
|
||||
|
||||
for (i in todo()) {}
|
||||
}
|
||||
|
||||
fun testWhile() {
|
||||
while (todo()) {
|
||||
}
|
||||
}
|
||||
|
||||
fun testDoWhile() {
|
||||
do {
|
||||
|
||||
} while(todo())
|
||||
|
||||
bar()
|
||||
}
|
||||
|
||||
fun todo(): Nothing = throw Exception()
|
||||
fun bar() {}
|
||||
Reference in New Issue
Block a user