blob: 03737a48293b511d63c9a4c5bce08bf20bf26dc2 (
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
35
36
37
38
39
|
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
(memory 1)
(data "a")
(table 1 funcref)
(elem funcref 0)
(func
;; Mismatch first operand.
f32.const 0 i32.const 0 i32.const 0 memory.init 0
f32.const 0 i32.const 0 i32.const 0 memory.copy
f32.const 0 i32.const 0 i32.const 0 memory.fill
f32.const 0 i32.const 0 i32.const 0 table.init 0
f32.const 0 i32.const 0 i32.const 0 table.copy
;; Mismatch second operand.
i32.const 0 f32.const 0 i32.const 0 memory.init 0
i32.const 0 f32.const 0 i32.const 0 memory.copy
i32.const 0 f32.const 0 i32.const 0 memory.fill
i32.const 0 f32.const 0 i32.const 0 table.init 0
i32.const 0 f32.const 0 i32.const 0 table.copy
;; Mismatch third operand.
i32.const 0 i32.const 0 i64.const 0 memory.init 0
i32.const 0 i32.const 0 i64.const 0 memory.copy
i32.const 0 i32.const 0 i64.const 0 memory.fill
i32.const 0 i32.const 0 i64.const 0 table.init 0
i32.const 0 i32.const 0 i64.const 0 table.copy
)
)
(;; STDERR ;;;
out/test/typecheck/bad-bulk-memory-type-mismatch.txt:8:17: error: unexpected token 0, expected ).
(elem funcref 0)
^
;;; STDERR ;;)
|