// WITH_RUNTIME fun foo(list: List) { for ((i, s) in list.withIndex()) { println(i) val x = s.length * (i + 1) if (x > 1000) break } }