summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-export-global-undefined.txt
blob: 200555f768d7017ef7db63ce22eb3925205c3cba (plain)
1
2
3
4
5
6
7
8
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (export "foo" (global 0)))
(;; STDERR ;;;
out/test/parse/module/bad-export-global-undefined.txt:3:31: error: global variable out of range: 0 (max 0)
(module (export "foo" (global 0)))
                              ^
;;; STDERR ;;)