summaryrefslogtreecommitdiff
path: root/test/passes/lower-if-else.wast
blob: 11c44fadf5f082efee9b480696bcd8330b52cd11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(module
  (memory 16777216 16777216)
  (func $ifs
    (block
      (if
        (i32.const 0)
        (i32.const 1)
      )
      (if_else
        (i32.const 0)
        (i32.const 1)
        (i32.const 2)
      )
      (if_else
        (i32.const 4)
        (i32.const 5)
        (i32.const 6)
      )
      (i32.eq
        (if_else
          (i32.const 4)
          (i32.const 5)
          (i32.const 6)
        )
        (i32.const 177)
      )
    )
  )
)