| 1 |
(module $Ng |
| 2 |
(type (;0;) (func (result i32))) |
| 3 |
(type (;1;) (func (param i32))) |
| 4 |
(import "Mg" "glob" (global $x (;0;) i32)) |
| 5 |
(import "Mg" "mut_glob" (global $mut_glob (;1;) (mut i32))) |
| 6 |
(import "Mg" "get" (func $f (;0;) (type 0))) |
| 7 |
(import "Mg" "get_mut" (func $get_mut (;1;) (type 0))) |
| 8 |
(import "Mg" "set_mut" (func $set_mut (;2;) (type 1))) |
| 9 |
(global $glob (;2;) i32 i32.const 43) |
| 10 |
(export "Mg.glob" (global $x)) |
| 11 |
(export "Mg.get" (func $f)) |
| 12 |
(export "glob" (global $glob)) |
| 13 |
(export "get" (func 3)) |
| 14 |
(export "Mg.mut_glob" (global $mut_glob)) |
| 15 |
(export "Mg.get_mut" (func $get_mut)) |
| 16 |
(export "Mg.set_mut" (func $set_mut)) |
| 17 |
(func (;3;) (type 0) (result i32) |
| 18 |
global.get $glob |
| 19 |
) |
| 20 |
) |