Use stricter assertions in for-loop bytecode text tests.
This commit is contained in:
committed by
max-kammerer
parent
dd65e0876f
commit
a0940b1342
@@ -1,8 +1,11 @@
|
||||
const val M = Long.MAX_VALUE
|
||||
|
||||
fun f(a: Long) {
|
||||
fun f(a: Long): Int {
|
||||
var n = 0
|
||||
for (i in a..M) {
|
||||
n++
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// 0 iterator
|
||||
|
||||
Reference in New Issue
Block a user