FILE fqName:<root> fileName:/emptyWhen.kt
  FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Unit
    BLOCK_BODY
      BLOCK type=kotlin.Unit origin=WHEN
      VAR name:x type:kotlin.Int [val]
        CONST Int type=kotlin.Int value=0
      BLOCK type=kotlin.Unit origin=WHEN
        VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val]
          GET_VAR 'val x: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
        WHEN type=kotlin.Unit origin=WHEN
          BRANCH
            if: CONST Boolean type=kotlin.Boolean value=true
            then: BLOCK type=kotlin.Unit origin=null
      VAR name:z type:kotlin.Unit [val]
        BLOCK type=kotlin.Unit origin=WHEN
          VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int [val]
            GET_VAR 'val x: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
          WHEN type=kotlin.Unit origin=WHEN
            BRANCH
              if: CONST Boolean type=kotlin.Boolean value=true
              then: BLOCK type=kotlin.Unit origin=null
