summaryrefslogtreecommitdiff
path: root/test/roundtrip/inline-export-table.txt
blob: 329925edb03dd403832f66fa093b2eac4f3e3241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; TOOL: run-roundtrip
;;; ARGS: --stdout --inline-export
(module
  (func $f1)
  (func $f2)
  (table $foo anyfunc (elem $f1 $f2))
  (export "foo" (table $foo)))
(;; STDOUT ;;;
(module
  (type (;0;) (func))
  (func (;0;) (type 0))
  (func (;1;) (type 0))
  (table (;0;) (export "foo") 2 2 funcref)
  (elem (;0;) (i32.const 0) 0 1))
;;; STDOUT ;;)