| ;;; TOOL: run-roundtrip | |
| ;;; ARGS: --stdout --inline-export | |
| (module | |
| (func $f1) | |
| (func $f2) | |
| (table $foo funcref (elem $f1 $f2)) | |
| (export "foo" (table $foo))) | |
| (;; STDOUT ;;; | |
| (module | |
| (type (;0;) (func)) | |
| (func (;0;) (type 0)) | |
| (func (;1;) (type 0)) | |
| (table (;0;) (export "foo") 2 2 funcref) | |
| (elem (;0;) (i32.const 0) func 0 1)) | |
| ;;; STDOUT ;;) |