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