Files
kotlin/compiler/testData/codegen/bytecodeText/forLoop/forInStringSpecialized.kt
Mads Ager 8ed1317839 [IR] For loop lowering for iteration over CharacterSequences.
Change-Id: I7aeadfffc80f791ec19a3607e219c1dc4de028db
2019-08-30 09:35:59 +02:00

14 lines
171 B
Kotlin
Vendored

fun test() {
var s = ""
for (c in "testString") {
s += c
}
}
// 0 iterator
// 0 hasNext
// 0 nextChar
// 0 INVOKEINTERFACE
// 1 ISTORE 4
// 1 ILOAD 4