;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func (local i32)
    f32.const 0
    set_local 0))
(;; STDERR ;;;
out/test/typecheck/bad-setlocal-type-mismatch.txt:6:5: error: type mismatch in set_local, expected [i32] but got [f32]
    set_local 0))
    ^^^^^^^^^
;;; STDERR ;;)
