blob: e51cabf18e04842036b80582a58e108825423cf5 (
plain)
1
2
3
4
5
6
7
8
9
|
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
(global i32 (f32.const 1)))
(;; STDERR ;;;
out/test/typecheck/bad-global-type-mismatch.txt:4:16: error: type mismatch in initializer expression, expected [i32] but got [f32]
(global i32 (f32.const 1)))
^^^^^^^^^
;;; STDERR ;;)
|