blob: 3f7c89e844179c49b365d850359c1069b7a3e505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
(global i32
i32.const 1
i32.const 2
i32.add))
(;; STDERR ;;;
out/test/parse/module/bad-global-invalid-expr.txt:7:5: error: invalid initializer: instruction not valid in initializer expression: i32.add
i32.add))
^^^^^^^
;;; STDERR ;;)
|