summaryrefslogtreecommitdiff
path: root/test/spec/func_ptrs.txt
blob: c1c0399c003548f1e00c27a675caac3d027bbc7d (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
26
27
28
29
30
31
32
33
34
;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/func_ptrs.wast
(;; STDOUT ;;;
called host spectest.print_i32(i32:83) =>
four(i32:83) =>
out/test/spec/func_ptrs.wast:32: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.1.wasm:000000c: error: table variable out of range: 0 (max 0)
  000000c: error: BeginElemSegment callback failed
out/test/spec/func_ptrs.wast:33: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.2.wasm:0000016: error: table variable out of range: 0 (max 0)
  0000016: error: BeginElemSegment callback failed
out/test/spec/func_ptrs.wast:36: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.3.wasm:0000014: error: type mismatch in initializer expression, expected [i32] but got [i64]
  0000015: error: EndElemSegmentInitExpr callback failed
out/test/spec/func_ptrs.wast:40: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.4.wasm:0000015: error: invalid initializer: instruction not valid in initializer expression: i32.ctz
  0000015: error: OnUnaryExpr callback failed
out/test/spec/func_ptrs.wast:44: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.5.wasm:0000013: error: invalid initializer: instruction not valid in initializer expression: nop
  0000013: error: OnNopExpr callback failed
out/test/spec/func_ptrs.wast:48: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.6.wasm:000000c: error: function type variable out of range: 42 (max 0)
  000000c: error: OnFunction callback failed
out/test/spec/func_ptrs.wast:49: assert_invalid passed:
  out/test/spec/func_ptrs/func_ptrs.7.wasm:0000020: error: function type variable out of range: 43 (max 0)
  0000020: error: OnImportFunc callback failed
out/test/spec/func_ptrs.wast:78: assert_trap passed: undefined table index
out/test/spec/func_ptrs.wast:79: assert_trap passed: undefined table index
out/test/spec/func_ptrs.wast:80: assert_trap passed: undefined table index
out/test/spec/func_ptrs.wast:89: assert_trap passed: undefined table index
out/test/spec/func_ptrs.wast:90: assert_trap passed: undefined table index
out/test/spec/func_ptrs.wast:91: assert_trap passed: undefined table index
36/36 tests passed.
;;; STDOUT ;;)