* 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
20 lines
377 B
Plaintext
20 lines
377 B
Plaintext
(module
|
|
(func $untyped-select (result i32)
|
|
i32.const 42
|
|
i32.const 24
|
|
i32.const 1
|
|
select)
|
|
|
|
(func $typed-select-1 (result externref)
|
|
ref.null extern
|
|
ref.null extern
|
|
i32.const 1
|
|
select (result externref))
|
|
|
|
(func $typed-select-2 (param externref) (result externref)
|
|
ref.null extern
|
|
local.get 0
|
|
i32.const 1
|
|
select (result externref))
|
|
)
|