;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/proposals/multi-memory/memory_grow.wast
;;; ARGS*: --enable-multi-memory
(;; STDOUT ;;;
out/test/spec/multi-memory/memory_grow.wast:86: assert_trap passed: out of bounds memory access: access at 0+4 >= max value 0
out/test/spec/multi-memory/memory_grow.wast:87: assert_trap passed: out of bounds memory access: access at 0+4 >= max value 0
out/test/spec/multi-memory/memory_grow.wast:88: assert_trap passed: out of bounds memory access: access at 65536+4 >= max value 0
out/test/spec/multi-memory/memory_grow.wast:89: assert_trap passed: out of bounds memory access: access at 65536+4 >= max value 0
out/test/spec/multi-memory/memory_grow.wast:95: assert_trap passed: out of bounds memory access: access at 65536+4 >= max value 65536
out/test/spec/multi-memory/memory_grow.wast:96: assert_trap passed: out of bounds memory access: access at 65536+4 >= max value 65536
out/test/spec/multi-memory/memory_grow.wast:376: assert_trap passed: undefined table index
out/test/spec/multi-memory/memory_grow.wast:431: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.8.wasm:0000024: error: type mismatch in memory.grow, expected [i32] but got [f32]
  0000024: error: OnMemoryGrowExpr callback failed
out/test/spec/multi-memory/memory_grow.wast:440: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.9.wasm:000001f: error: type mismatch in memory.grow, expected [i32] but got []
  000001f: error: OnMemoryGrowExpr callback failed
out/test/spec/multi-memory/memory_grow.wast:449: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.10.wasm:0000023: error: type mismatch in memory.grow, expected [i32] but got []
  0000023: error: OnMemoryGrowExpr callback failed
out/test/spec/multi-memory/memory_grow.wast:459: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.11.wasm:0000023: error: type mismatch in memory.grow, expected [i32] but got []
  0000023: error: OnMemoryGrowExpr callback failed
out/test/spec/multi-memory/memory_grow.wast:469: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.12.wasm:0000025: error: type mismatch in memory.grow, expected [i32] but got []
  0000025: error: OnMemoryGrowExpr callback failed
out/test/spec/multi-memory/memory_grow.wast:480: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.13.wasm:0000021: error: type mismatch at end of function, expected [] but got [i32]
  0000021: error: EndFunctionBody callback failed
out/test/spec/multi-memory/memory_grow.wast:489: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.14.wasm:0000024: error: type mismatch in memory.grow, expected [i32] but got [f32]
  0000024: error: OnMemoryGrowExpr callback failed
out/test/spec/multi-memory/memory_grow.wast:499: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.15.wasm:0000021: error: type mismatch at end of function, expected [] but got [i32]
  0000021: error: EndFunctionBody callback failed
out/test/spec/multi-memory/memory_grow.wast:508: assert_invalid passed:
  out/test/spec/multi-memory/memory_grow/memory_grow.16.wasm:0000022: error: type mismatch in implicit return, expected [f32] but got [i32]
  0000022: error: EndFunctionBody callback failed
140/140 tests passed.
;;; STDOUT ;;)
