mirror of
https://github.com/nodejs/node.git
synced 2025-05-18 09:23:57 +00:00

PR-URL: https://github.com/nodejs/node/pull/28918 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
13 lines
345 B
Plaintext
13 lines
345 B
Plaintext
(module
|
|
(table (export "table") 2 10 funcref)
|
|
|
|
(func (export "call_indirect") (param i32 i32) (result i32)
|
|
(call_indirect (param i32) (result i32) (local.get 0) (local.get 1))
|
|
)
|
|
|
|
(func $f (export "f") (param i32) (result i32) (local.get 0))
|
|
(func (export "g") (param i32) (result i32) (i32.const 666))
|
|
|
|
(elem (i32.const 1) $f)
|
|
)
|