fun foo(a: Int, b: Int) {
}

fun noReorder1(): Int {
  return 1
}

fun noReorder2(): Int {
  return 2
}

fun reordered1(): Int {
  return 1
}

fun reordered2(): Int {
  return 2
}

fun test() {
  foo(a = noReorder1(), b = noReorder2())
  { // BLOCK
    val tmp_0: Int = reordered1()
    val tmp_1: Int = reordered2()
    foo(a = tmp_1, b = tmp_0)
  }
  { // BLOCK
    val tmp_2: Int = reordered2()
    foo(a = tmp_2, b = 1)
  }
}
