blob: 68775eb9a4dd1a85a371d252e712d7b08d1a3e7c [file] [log] [blame]
RUN: not wasm-opt --debug %s.wasm 2>&1 | filecheck %s
;; Check that we get the expected error for an input binary that looks like
;; this:
;;
;; (module
;; (global $g i32 (local.set 0 (i32.const 1)))
;; )
;; CHECK: local.set is only valid in a function context