| 1 |
(module |
| 2 |
(type $arr (;0;) (array funcref)) |
| 3 |
(type (;1;) (func (result i32))) |
| 4 |
(type (;2;) (func (param i32 i32) (result (ref $arr)))) |
| 5 |
(export "array-new-elem" (func 4)) |
| 6 |
(elem $e (;0;) func $aa $bb $cc $dd) |
| 7 |
(func $aa (;0;) (type 1) (result i32) |
| 8 |
i32.const 170 |
| 9 |
) |
| 10 |
(func $bb (;1;) (type 1) (result i32) |
| 11 |
i32.const 187 |
| 12 |
) |
| 13 |
(func $cc (;2;) (type 1) (result i32) |
| 14 |
i32.const 204 |
| 15 |
) |
| 16 |
(func $dd (;3;) (type 1) (result i32) |
| 17 |
i32.const 221 |
| 18 |
) |
| 19 |
(func (;4;) (type 2) (param i32 i32) (result (ref $arr)) |
| 20 |
local.get 0 |
| 21 |
local.get 1 |
| 22 |
array.new_elem $arr $e |
| 23 |
) |
| 24 |
) |