;;; TOOL: run-roundtrip
;;; ARGS: --stdout --generate-names
(module
  (import "m" "g" (global $g i32))
  (func)
  (table 1 funcref)
  (memory 1)

  (global i32 (global.get $g))
  (elem (global.get $g) 0)
  (data (global.get $g) "hi")
)
(;; STDOUT ;;;
(module
  (type $t0 (func))
  (import "m" "g" (global $m.g i32))
  (func $f0 (type $t0))
  (table $T0 1 funcref)
  (memory $M0 1)
  (global $g1 i32 (global.get $m.g))
  (elem $e0 (global.get $m.g) func $f0)
  (data $d0 (global.get $m.g) "hi"))
;;; STDOUT ;;)
