mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
All bytecode text tests are run with stdlib in the classpath and only for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND, IGNORE_BACKEND are not needed
15 lines
187 B
Kotlin
Vendored
15 lines
187 B
Kotlin
Vendored
fun test(): Int {
|
|
var sum = 0
|
|
for (i in 1 until 6) {
|
|
sum = sum * 10 + i
|
|
}
|
|
return sum
|
|
}
|
|
|
|
// 0 iterator
|
|
// 0 getStart
|
|
// 0 getEnd
|
|
// 0 getFirst
|
|
// 0 getLast
|
|
// 1 IF
|