summaryrefslogtreecommitdiff
path: root/test/roundtrip/table-init-index.txt
blob: 0c8cde6f406d73b738ad5f652048e9b5e2787622 (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
;;; TOOL: run-roundtrip
;;; ARGS: --stdout
(module
  (table $t 0 funcref)
  (table $u 0 funcref)
  (elem $e 0)
  (func
    i32.const 0
    i32.const 0
    i32.const 0
    table.init $u $e)
)
(;; STDOUT ;;;
(module
  (type (;0;) (func))
  (func (;0;) (type 0)
    i32.const 0
    i32.const 0
    i32.const 0
    table.init 1 0)
  (table (;0;) 0 funcref)
  (table (;1;) 0 funcref)
  (elem (;0;) func))
;;; STDOUT ;;)