[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,11 +1,11 @@
fun testBreakFor() {
val xs: IntArray = TODO("IrConstructorCall")
var k: Int = 0
{ //BLOCK
{ // BLOCK
val tmp0_iterator: IntIterator = xs.iterator()
while (tmp0_iterator.hasNext()) { //BLOCK
while (tmp0_iterator.hasNext()) { // BLOCK
val x: Int = tmp0_iterator.next()
{ //BLOCK
{ // BLOCK
when {
greater(arg0 = k, arg1 = 2) -> break
}
@@ -16,7 +16,7 @@ fun testBreakFor() {
fun testBreakWhile() {
var k: Int = 0
while (less(arg0 = k, arg1 = 10)) { //BLOCK
while (less(arg0 = k, arg1 = 10)) { // BLOCK
when {
greater(arg0 = k, arg1 = 2) -> break
}
@@ -25,7 +25,7 @@ fun testBreakWhile() {
fun testBreakDoWhile() {
var k: Int = 0
{ //BLOCK
{ // BLOCK
do// COMPOSITE {
when {
greater(arg0 = k, arg1 = 2) -> break
@@ -37,11 +37,11 @@ fun testBreakDoWhile() {
fun testContinueFor() {
val xs: IntArray = TODO("IrConstructorCall")
var k: Int = 0
{ //BLOCK
{ // BLOCK
val tmp0_iterator: IntIterator = xs.iterator()
while (tmp0_iterator.hasNext()) { //BLOCK
while (tmp0_iterator.hasNext()) { // BLOCK
val x: Int = tmp0_iterator.next()
{ //BLOCK
{ // BLOCK
when {
greater(arg0 = k, arg1 = 2) -> continue
}
@@ -52,7 +52,7 @@ fun testContinueFor() {
fun testContinueWhile() {
var k: Int = 0
while (less(arg0 = k, arg1 = 10)) { //BLOCK
while (less(arg0 = k, arg1 = 10)) { // BLOCK
when {
greater(arg0 = k, arg1 = 2) -> continue
}
@@ -62,9 +62,9 @@ fun testContinueWhile() {
fun testContinueDoWhile() {
var k: Int = 0
var s: String = ""
{ //BLOCK
{ // BLOCK
do// COMPOSITE {
{ //BLOCK
{ // BLOCK
k = k.inc()
k
} /*~> Unit */