[IR] update testdata
This commit is contained in:
committed by
teamcityserver
parent
6a1ab1b325
commit
fc5c674c60
+10
-10
@@ -1,18 +1,18 @@
|
||||
fun testEmpty(ss: List<String>) {
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
val tmp0_iterator: Iterator<String> = ss.iterator()
|
||||
while (tmp0_iterator.hasNext()) { //BLOCK
|
||||
while (tmp0_iterator.hasNext()) { // BLOCK
|
||||
val s: String = tmp0_iterator.next()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun testIterable(ss: List<String>) {
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
val tmp0_iterator: Iterator<String> = ss.iterator()
|
||||
while (tmp0_iterator.hasNext()) { //BLOCK
|
||||
while (tmp0_iterator.hasNext()) { // BLOCK
|
||||
val s: String = tmp0_iterator.next()
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
println(message = s)
|
||||
}
|
||||
}
|
||||
@@ -20,13 +20,13 @@ fun testIterable(ss: List<String>) {
|
||||
}
|
||||
|
||||
fun testDestructuring(pp: List<Pair<Int, String>>) {
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
val tmp0_iterator: Iterator<Pair<Int, String>> = pp.iterator()
|
||||
while (tmp0_iterator.hasNext()) { //BLOCK
|
||||
while (tmp0_iterator.hasNext()) { // BLOCK
|
||||
val tmp1_loop_parameter: Pair<Int, String> = tmp0_iterator.next()
|
||||
val i: Int = tmp1_loop_parameter.component1()
|
||||
val s: String = tmp1_loop_parameter.component2()
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
println(message = i)
|
||||
println(message = s)
|
||||
}
|
||||
@@ -35,9 +35,9 @@ fun testDestructuring(pp: List<Pair<Int, String>>) {
|
||||
}
|
||||
|
||||
fun testRange() {
|
||||
{ //BLOCK
|
||||
{ // BLOCK
|
||||
val tmp0_iterator: IntIterator = 1.rangeTo(other = 10).iterator()
|
||||
while (tmp0_iterator.hasNext()) { //BLOCK
|
||||
while (tmp0_iterator.hasNext()) { // BLOCK
|
||||
val i: Int = tmp0_iterator.next()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user