summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-localset-name-undefined.txt
blob: 10c298df8f95048d459d29f91061cbcaa61ccf18 (plain)
1
2
3
4
5
6
7
8
9
10
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (func 
          i32.const 0
          local.set $n))
(;; STDERR ;;;
out/test/parse/expr/bad-localset-name-undefined.txt:5:21: error: undefined local variable "$n"
          local.set $n))
                    ^^
;;; STDERR ;;)