summaryrefslogtreecommitdiff
path: root/test/regress/regress-11.txt
blob: d6bf23d5f7f27ca4e0b0d9df688d86f53912f270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func (result i32)
    block (result i32)
      block
        unreachable
        br_if 1
      end
      i32.const 1
    end))
(;; STDERR ;;;
out/test/regress/regress-11.txt:9:7: error: type mismatch at end of block, expected [] but got [i32]
      end
      ^^^
;;; STDERR ;;)