summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-elem-redefinition.txt
blob: 86a2c0f70765a8dd506a2eac34ded164c68755bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (elem $elem funcref 0)
  (elem $elem funcref 0)
  (func))

(;; STDERR ;;;
out/test/parse/module/bad-elem-redefinition.txt:4:23: error: unexpected token 0, expected ).
  (elem $elem funcref 0)
                      ^
out/test/parse/module/bad-elem-redefinition.txt:5:23: error: unexpected token 0, expected ).
  (elem $elem funcref 0)
                      ^
;;; STDERR ;;)