summaryrefslogtreecommitdiff
path: root/test/passes/lower-if-else.wast
blob: 138a8a20632fd405547d7910cd47e1fb0a655d88 (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 256 256)
  (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)
      )
    )
  )
)