[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
+11 -11
View File
@@ -1,31 +1,31 @@
fun test() {
var x: Int = 0
while (less(arg0 = x, arg1 = 0))
while (less(arg0 = x, arg1 = 5)) { //BLOCK
while (less(arg0 = x, arg1 = 5)) { // BLOCK
val tmp0: Int = x
x = tmp0.inc()
tmp0
} /*~> Unit */
while (less(arg0 = x, arg1 = 10)) { //BLOCK
{ //BLOCK
while (less(arg0 = x, arg1 = 10)) { // BLOCK
{ // BLOCK
val tmp1: Int = x
x = tmp1.inc()
tmp1
} /*~> Unit */
}
{ //BLOCK
{ // BLOCK
do while (less(arg0 = x, arg1 = 0))
}
{ //BLOCK
do{ //BLOCK
{ // BLOCK
do{ // BLOCK
val tmp2: Int = x
x = tmp2.inc()
tmp2
} /*~> Unit */ while (less(arg0 = x, arg1 = 15))
}
{ //BLOCK
{ // BLOCK
do// COMPOSITE {
{ //BLOCK
{ // BLOCK
val tmp3: Int = x
x = tmp3.inc()
tmp3
@@ -37,10 +37,10 @@ fun test() {
fun testSmartcastInCondition() {
val a: Any? = null
when {
a is Boolean -> { //BLOCK
while (a /*as Boolean */) { //BLOCK
a is Boolean -> { // BLOCK
while (a /*as Boolean */) { // BLOCK
}
{ //BLOCK
{ // BLOCK
do// COMPOSITE {
// } while (a /*as Boolean */)
}