blob: 23f6d064e51050c8c996fc44435b5e77fd9bfa4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
;;; TOOL: run-roundtrip
;;; ARGS: --stdout --inline-import --inline-export
(module
(import "mod" "f" (func $f (param i32)))
(import "mod" "g" (global $g f32))
(import "mod" "t" (table $t 1 2 funcref))
(import "mod" "m" (memory $m 3))
(export "F" (func $f))
(export "G" (global $g))
(export "T" (table $t))
(export "M" (memory $m))
)
(;; STDOUT ;;;
(module
(type (;0;) (func (param i32)))
(func (;0;) (export "F") (import "mod" "f") (type 0) (param i32))
(global (;0;) (export "G") (import "mod" "g") f32)
(table (;0;) (export "T") (import "mod" "t") 1 2 funcref)
(memory (;0;) (export "M") (import "mod" "m") 3))
;;; STDOUT ;;)
|