8ed1317839
Change-Id: I7aeadfffc80f791ec19a3607e219c1dc4de028db
17 lines
275 B
Kotlin
Vendored
17 lines
275 B
Kotlin
Vendored
fun test() {
|
|
var s = ""
|
|
for (c in "testString") {
|
|
s += c
|
|
}
|
|
for (c in StringBuilder("testStringBuilder")) {
|
|
s += c
|
|
}
|
|
for (c in "testCharSequence".apply<CharSequence>{}) {
|
|
s += c
|
|
}
|
|
}
|
|
|
|
// 0 iterator
|
|
// 0 hasNext
|
|
// 0 nextChar
|