summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-loop-end-label.txt
blob: 41d5b7ed88a359ced64f487d1ae70a33c089aad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func
    loop
    end $foo))
(;; STDERR ;;;
out/test/parse/expr/bad-loop-end-label.txt:6:9: error: unexpected label "$foo"
    end $foo))
        ^^^^
;;; STDERR ;;)