;;; TOOL: run-roundtrip
;;; ARGS: --stdout --generate-names --enable-bulk-memory

(module
  (memory 1)
  (data "a")
  (func
    i32.const 0 i32.const 0 i32.const 0 memory.init 0
    data.drop 0
  )

  (table 1 anyfunc)
  (elem func 0)
  (func
    i32.const 0 i32.const 0 i32.const 0 table.init 0
    elem.drop 0
  )
)
(;; STDOUT ;;;
(module
  (type $t0 (func))
  (func $f0 (type $t0)
    i32.const 0
    i32.const 0
    i32.const 0
    memory.init $d0
    data.drop $d0)
  (func $f1 (type $t0)
    i32.const 0
    i32.const 0
    i32.const 0
    table.init $T0 $e0
    elem.drop $e0)
  (table $T0 1 funcref)
  (memory $M0 1)
  (elem $e0 func $f0)
  (data $d0 "a"))
;;; STDOUT ;;)
