summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-getglobal-name-undefined.txt
blob: 7ed6ac9ccac0e9554379c1597676e75e59f6fdf0 (plain)
1
2
3
4
5
6
7
8
;;; TOOL: wat2wasm
;;; ERROR: 1
(module (func get_global $n))
(;; STDERR ;;;
out/test/parse/expr/bad-getglobal-name-undefined.txt:3:26: error: undefined global variable "$n"
(module (func get_global $n))
                         ^^
;;; STDERR ;;)