blob: c32a52a85d126c7afa0c92882f27b5b4a407e9e2 [file] [edit]
;;; TOOL: run-spec-wasm2c
(module
(memory 1)
(func (export "test") (param i32)
local.get 0
i32.load8_u offset=1
drop)
)
(assert_trap (invoke "test" (i32.const -1)) "out of bounds memory access")
(;; STDOUT ;;;
1/1 tests passed.
;;; STDOUT ;;)