summaryrefslogtreecommitdiff
path: root/test/roundtrip/elem-declare.txt
blob: 0dbd136223c4dc8319e54516a697904d029a969b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; TOOL: run-roundtrip
;;; ARGS: --stdout
(module
  (table 2 funcref)
  (elem declare funcref (ref.func $f) (ref.null func))
  (func $f)
)
(;; STDOUT ;;;
(module
  (type (;0;) (func))
  (func (;0;) (type 0))
  (table (;0;) 2 funcref)
  (elem (;0;) declare funcref (ref.func 0) (ref.null func)))
;;; STDOUT ;;)