* Update to using `wasmparser` 0.55.0 * Update wasmprinter to 0.2.5 * Update `wat` to 1.0.18, and `wast` to 17.0.0
13 lines
470 B
Plaintext
13 lines
470 B
Plaintext
(module
|
|
(func $imported (import "env" "f") (param i32) (result i32))
|
|
(func $local (result externref externref funcref funcref)
|
|
global.get 0
|
|
global.get 1
|
|
global.get 2
|
|
global.get 3)
|
|
|
|
(global (export "externref-imported") externref (ref.func $imported))
|
|
(global (export "externref-local") externref (ref.func $local))
|
|
(global (export "funcref-imported") funcref (ref.func $imported))
|
|
(global (export "funcref-local") funcref (ref.func $local)))
|