summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-table-elem.txt
blob: b86a16da81fbfc9a9c2d1de17b6a709ebf2e1daf (plain)
1
2
3
4
5
6
7
8
9
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (table funcref (elem garbage)))
(;; STDERR ;;;
out/test/parse/module/bad-table-elem.txt:4:24: error: unexpected token garbage, expected ).
  (table funcref (elem garbage)))
                       ^^^^^^^
;;; STDERR ;;)