blob: bec8cb0b5f2e2c670e02a38ce081f826e0bb1ed6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
(memory 1)
(func
f32.const 0
i32.load
drop))
(;; STDERR ;;;
out/test/typecheck/bad-load-type-mismatch.txt:7:5: error: type mismatch in i32.load, expected [i32] but got [f32]
i32.load
^^^^^^^^
;;; STDERR ;;)
|