15 lines
344 B
WebAssembly Text Format
15 lines
344 B
WebAssembly Text Format
(module
|
|
(type $heap-object (sub (struct (field (mut i32)))))
|
|
(type (func (param i32) (result)))
|
|
(type (array (ref null 1)))
|
|
(type (array (ref eq)))
|
|
(func
|
|
(param)
|
|
(result (ref eq))
|
|
(local (ref eq) (ref eq) (ref eq) (ref eq) (ref eq))
|
|
(i32.const 1)
|
|
(i32.const 2)
|
|
i32.shl
|
|
ref.i31)
|
|
(export "main" (func 0)))
|