diff options
Diffstat (limited to 'test/parse/expr/bad-globalset-name-undefined.txt')
-rw-r--r-- | test/parse/expr/bad-globalset-name-undefined.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/parse/expr/bad-globalset-name-undefined.txt b/test/parse/expr/bad-globalset-name-undefined.txt new file mode 100644 index 00000000..12a7242c --- /dev/null +++ b/test/parse/expr/bad-globalset-name-undefined.txt @@ -0,0 +1,10 @@ +;;; TOOL: wat2wasm +;;; ERROR: 1 +(module (func + i32.const 1 + global.set $f)) +(;; STDERR ;;; +out/test/parse/expr/bad-globalset-name-undefined.txt:5:22: error: undefined global variable "$f" + global.set $f)) + ^^ +;;; STDERR ;;) |