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