;;; TOOL: run-roundtrip
;;; ARGS: --stdout --inline-export --enable-exceptions
(module
  (tag $foo (param i32))
  (export "foo" (tag $foo)))
(;; STDOUT ;;;
(module
  (type (;0;) (func (param i32)))
  (tag (;0;) (export "foo") (type 0) (param i32)))
;;; STDOUT ;;)
