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