;;; TOOL: run-roundtrip
;;; ARGS: --stdout --enable-reference-types
(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 ;;)
