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