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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/proposals/bulk-memory-operations/bulk.wast
;;; ARGS*: --enable-bulk-memory
(;; STDOUT ;;;
fill(i32:1, i32:255, i32:3) =>
fill(i32:0, i32:48042, i32:2) =>
fill(i32:0, i32:0, i32:65536) =>
out/test/spec/bulk-memory-operations/bulk.wast:43: assert_trap passed: out of bounds memory access: memory.fill out of bounds
fill(i32:65536, i32:0, i32:0) =>
fill(i32:65537, i32:0, i32:0) =>
copy(i32:10, i32:0, i32:4) =>
copy(i32:8, i32:10, i32:4) =>
copy(i32:10, i32:7, i32:6) =>
copy(i32:65280, i32:0, i32:256) =>
copy(i32:65024, i32:65280, i32:256) =>
copy(i32:65536, i32:0, i32:0) =>
copy(i32:0, i32:65536, i32:0) =>
copy(i32:65537, i32:0, i32:0) =>
copy(i32:0, i32:65537, i32:0) =>
init(i32:0, i32:1, i32:2) =>
init(i32:65532, i32:0, i32:4) =>
out/test/spec/bulk-memory-operations/bulk.wast:135: assert_trap passed: out of bounds memory access: memory.init out of bounds
init(i32:65536, i32:0, i32:0) =>
init(i32:0, i32:4, i32:0) =>
init(i32:65537, i32:0, i32:0) =>
init(i32:0, i32:5, i32:0) =>
init_passive(i32:1) =>
drop_passive() =>
out/test/spec/bulk-memory-operations/bulk.wast:165: assert_trap passed: data segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:167: assert_trap passed: data segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:168: assert_trap passed: data segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:170: assert_trap passed: data segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:194: assert_trap passed: out of bounds table access: table.init out of bounds
out/test/spec/bulk-memory-operations/bulk.wast:196: assert_trap passed: uninitialized table element
init(i32:0, i32:1, i32:2) =>
out/test/spec/bulk-memory-operations/bulk.wast:202: assert_trap passed: uninitialized table element
init(i32:1, i32:2, i32:2) =>
init(i32:3, i32:0, i32:0) =>
init(i32:0, i32:4, i32:0) =>
init(i32:4, i32:0, i32:0) =>
init(i32:0, i32:5, i32:0) =>
init_passive(i32:1) =>
drop_passive() =>
out/test/spec/bulk-memory-operations/bulk.wast:236: assert_trap passed: element segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:238: assert_trap passed: element segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:239: assert_trap passed: element segment dropped
out/test/spec/bulk-memory-operations/bulk.wast:241: assert_trap passed: element segment dropped
copy(i32:3, i32:0, i32:3) =>
copy(i32:0, i32:1, i32:3) =>
copy(i32:2, i32:0, i32:3) =>
copy(i32:6, i32:8, i32:2) =>
copy(i32:8, i32:6, i32:2) =>
copy(i32:10, i32:0, i32:0) =>
copy(i32:0, i32:10, i32:0) =>
copy(i32:11, i32:0, i32:0) =>
copy(i32:0, i32:11, i32:0) =>
100/100 tests passed.
;;; STDOUT ;;)
|