blob: 4848206f496043dae3b48923eb0940afb1251a5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
;;; TOOL: run-roundtrip
;;; ARGS: --stdout --enable-reference-types
(module
(table $t 0 funcref)
(table $u 0 funcref)
(func
i32.const 0
i32.const 0
i32.const 0
table.copy $t $u)
)
(;; STDOUT ;;;
(module
(type (;0;) (func))
(func (;0;) (type 0)
i32.const 0
i32.const 0
i32.const 0
table.copy 0 1)
(table (;0;) 0 funcref)
(table (;1;) 0 funcref))
;;; STDOUT ;;)
|