| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
(module |
| 4 |
(type (func (result i32))) |
| 5 |
(table 32 64 funcref) |
| 6 |
(elem funcref |
| 7 |
(ref.func $f0) (ref.func $f1) (ref.func $f2) (ref.func $f3) |
| 8 |
(ref.func $f4) (ref.func $f5) (ref.func $f6) (ref.func $f7) |
| 9 |
(ref.func $f8) (ref.func $f9) (ref.func $f10) (ref.func $f11) |
| 10 |
(ref.func $f12) (ref.func $f13) (ref.func $f14) (ref.func $f15)) |
| 11 |
(func $f0 (export "f0") (result i32) (i32.const 0)) |
| 12 |
(func $f1 (export "f1") (result i32) (i32.const 1)) |
| 13 |
(func $f2 (export "f2") (result i32) (i32.const 2)) |
| 14 |
(func $f3 (export "f3") (result i32) (i32.const 3)) |
| 15 |
(func $f4 (export "f4") (result i32) (i32.const 4)) |
| 16 |
(func $f5 (export "f5") (result i32) (i32.const 5)) |
| 17 |
(func $f6 (export "f6") (result i32) (i32.const 6)) |
| 18 |
(func $f7 (export "f7") (result i32) (i32.const 7)) |
| 19 |
(func $f8 (export "f8") (result i32) (i32.const 8)) |
| 20 |
(func $f9 (export "f9") (result i32) (i32.const 9)) |
| 21 |
(func $f10 (export "f10") (result i32) (i32.const 10)) |
| 22 |
(func $f11 (export "f11") (result i32) (i32.const 11)) |
| 23 |
(func $f12 (export "f12") (result i32) (i32.const 12)) |
| 24 |
(func $f13 (export "f13") (result i32) (i32.const 13)) |
| 25 |
(func $f14 (export "f14") (result i32) (i32.const 14)) |
| 26 |
(func $f15 (export "f15") (result i32) (i32.const 15)) |
| 27 |
(func (export "test") (param $n i32) (result i32) |
| 28 |
(call_indirect (type 0) (local.get $n))) |
| 29 |
(func (export "run") (param $offs i32) (param $len i32) |
| 30 |
(table.init 0 (local.get $offs) (i32.const 0) (local.get $len)))) |