blob: 9bc869ae0016eb6673b353fbe8d4b7816d01ff81 (
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/start.wast
(;; STDOUT ;;;
out/test/spec/start.wast:2: assert_invalid passed:
0000000: error: function variable out of range: 1 (max 1)
0000015: error: OnStartFunction callback failed
out/test/spec/start.wast:7: assert_invalid passed:
error: start function must not return anything
0000016: error: OnStartFunction callback failed
out/test/spec/start.wast:14: assert_invalid passed:
error: start function must be nullary
0000016: error: OnStartFunction callback failed
inc() =>
inc() =>
inc() =>
inc() =>
called host spectest.print_i32(i32:1) =>
called host spectest.print_i32(i32:2) =>
called host spectest.print() =>
out/test/spec/start.wast:103: assert_malformed passed:
out/test/spec/start/start.9.wat:1:69: error: multiple start sections
(module (func $a (unreachable)) (func $b (unreachable)) (start $a) (start $b))
^^^^^
15/15 tests passed.
;;; STDOUT ;;)
|