| 1 |
(module |
| 2 |
(type (;0;) (func (result i32))) |
| 3 |
(import "spectest" "global_i32" (global (;0;) i32)) |
| 4 |
(import "spectest" "global_i32" (global (;1;) i32)) |
| 5 |
(import "spectest" "global_i32" (global $x (;2;) i32)) |
| 6 |
(import "spectest" "global_i32" (global $y (;3;) i32)) |
| 7 |
(import "spectest" "global_f32" (global (;4;) f32)) |
| 8 |
(import "spectest" "global_f64" (global (;5;) f64)) |
| 9 |
(export "get-0" (func 0)) |
| 10 |
(export "get-1" (func 1)) |
| 11 |
(export "get-x" (func 2)) |
| 12 |
(export "get-y" (func 3)) |
| 13 |
(func (;0;) (type 0) (result i32) |
| 14 |
global.get 0 |
| 15 |
) |
| 16 |
(func (;1;) (type 0) (result i32) |
| 17 |
global.get 1 |
| 18 |
) |
| 19 |
(func (;2;) (type 0) (result i32) |
| 20 |
global.get $x |
| 21 |
) |
| 22 |
(func (;3;) (type 0) (result i32) |
| 23 |
global.get $y |
| 24 |
) |
| 25 |
) |