[IR] update testdata

This commit is contained in:
Zalim Bashorov
2020-11-05 23:40:21 +03:00
committed by teamcityserver
parent 6a1ab1b325
commit fc5c674c60
94 changed files with 354 additions and 354 deletions
@@ -1,6 +1,6 @@
fun test1(c: Boolean?) {
while (true) { //BLOCK
while ({ //BLOCK
while (true) { // BLOCK
while ({ // BLOCK
val tmp0_elvis_lhs: Boolean? = c
when {
EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> break
@@ -11,8 +11,8 @@ fun test1(c: Boolean?) {
}
fun test2(c: Boolean?) {
while (true) { //BLOCK
while ({ //BLOCK
while (true) { // BLOCK
while ({ // BLOCK
val tmp0_elvis_lhs: Boolean? = c
when {
EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> continue
@@ -23,16 +23,16 @@ fun test2(c: Boolean?) {
}
fun test3(ss: List<String>?) {
while (true) { //BLOCK
{ //BLOCK
val tmp1_iterator: Iterator<String> = { //BLOCK
while (true) { // BLOCK
{ // BLOCK
val tmp1_iterator: Iterator<String> = { // BLOCK
val tmp0_elvis_lhs: List<String>? = ss
when {
EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> continue
true -> tmp0_elvis_lhs
}
}.iterator()
while (tmp1_iterator.hasNext()) { //BLOCK
while (tmp1_iterator.hasNext()) { // BLOCK
val s: String = tmp1_iterator.next()
}
}
@@ -40,16 +40,16 @@ fun test3(ss: List<String>?) {
}
fun test4(ss: List<String>?) {
while (true) { //BLOCK
{ //BLOCK
val tmp1_iterator: Iterator<String> = { //BLOCK
while (true) { // BLOCK
{ // BLOCK
val tmp1_iterator: Iterator<String> = { // BLOCK
val tmp0_elvis_lhs: List<String>? = ss
when {
EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> break
true -> tmp0_elvis_lhs
}
}.iterator()
while (tmp1_iterator.hasNext()) { //BLOCK
while (tmp1_iterator.hasNext()) { // BLOCK
val s: String = tmp1_iterator.next()
}
}
@@ -58,15 +58,15 @@ fun test4(ss: List<String>?) {
fun test5() {
var i: Int = 0
while (true) { //BLOCK
{ //BLOCK
while (true) { // BLOCK
{ // BLOCK
i = i.inc()
i
} /*~> Unit */
var j: Int = 0
{ //BLOCK
{ // BLOCK
do// COMPOSITE {
{ //BLOCK
{ // BLOCK
j = j.inc()
j
} /*~> Unit */