summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-br-bad-depth.txt
blob: 0839ed938b7db64bf5f754bb06b128cebf4a5560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func     ;; 2 (implicit)
    block   ;; 1
      block ;; 0
        br 3
      end
    end))
(;; STDERR ;;;
out/test/parse/expr/bad-br-bad-depth.txt:7:9: error: invalid depth: 3 (max 2)
        br 3
        ^^
;;; STDERR ;;)