summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-load-offset-negative.txt
blob: 138017c30ed9d5b53a0f0561cd5e767324250511 (plain)
1
2
3
4
5
6
7
8
9
10
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (func
          i32.const 0 
          i32.load8_s offset=-1))
(;; STDERR ;;;
out/test/parse/expr/bad-load-offset-negative.txt:5:23: error: unexpected token offset=-1, expected ).
          i32.load8_s offset=-1))
                      ^^^^^^^^^
;;; STDERR ;;)