;;; TOOL: run-roundtrip ;;; ARGS: --stdout --generate-names (module (import "foo" "bar" (func (type 0))) (table anyfunc (elem 0)) (type (func)) (type (func (result i32))) (func (type 0)) (func (type 1) i32.const 0 call_indirect (type 0) i32.const 1)) (;; STDOUT ;;; (module (type $t0 (func)) (type $t1 (func (result i32))) (import "foo" "bar" (func $foo.bar (type $t0))) (func $f1 (type $t0)) (func $f2 (type $t1) (result i32) i32.const 0 call_indirect $T0 (type $t0) i32.const 1) (table $T0 1 1 funcref) (elem $e0 (i32.const 0) func $foo.bar)) ;;; STDOUT ;;)