blob: 18fe06c5e860bbb01eb410ad2db1ff76c669e6b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/table_get.wast
(;; STDOUT ;;;
init(externref:2) =>
out/test/spec/table_get.wast:33: assert_trap passed: out of bounds table access: table.get at 2 >= max value 2
out/test/spec/table_get.wast:34: assert_trap passed: out of bounds table access: table.get at 3 >= max value 3
out/test/spec/table_get.wast:35: assert_trap passed: out of bounds table access: table.get at 4294967295 >= max value 2
out/test/spec/table_get.wast:36: assert_trap passed: out of bounds table access: table.get at 4294967295 >= max value 3
out/test/spec/table_get.wast:42: assert_invalid passed:
out/test/spec/table_get/table_get.1.wasm:0000020: error: type mismatch in table.get, expected [i32] but got []
0000020: error: OnTableGetExpr callback failed
out/test/spec/table_get.wast:51: assert_invalid passed:
out/test/spec/table_get/table_get.2.wasm:0000025: error: type mismatch in table.get, expected [i32] but got [f32]
0000025: error: OnTableGetExpr callback failed
out/test/spec/table_get.wast:61: assert_invalid passed:
out/test/spec/table_get/table_get.3.wasm:0000022: error: type mismatch at end of function, expected [] but got [externref]
0000022: error: EndFunctionBody callback failed
out/test/spec/table_get.wast:70: assert_invalid passed:
out/test/spec/table_get/table_get.4.wasm:0000023: error: type mismatch in implicit return, expected [funcref] but got [externref]
0000023: error: EndFunctionBody callback failed
out/test/spec/table_get.wast:80: assert_invalid passed:
out/test/spec/table_get/table_get.5.wasm:0000026: error: type mismatch in implicit return, expected [funcref] but got [externref]
0000026: error: EndFunctionBody callback failed
16/16 tests passed.
;;; STDOUT ;;)
|