mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-14 14:45:40 +00:00
18 lines
277 B
Plaintext
18 lines
277 B
Plaintext
|
(module
|
||
|
(table 0 anyfunc)
|
||
|
(memory 0)
|
||
|
(func $for_2 (; 0 ;) (param $0 i32) (result i32)
|
||
|
(i32.shl
|
||
|
(get_local $0)
|
||
|
(i32.const 1)
|
||
|
)
|
||
|
)
|
||
|
(func (export "main") (; 1 ;) (result i32)
|
||
|
(call $for_2
|
||
|
(i32.const 2)
|
||
|
)
|
||
|
)
|
||
|
)
|
||
|
|
||
|
;; (assert_return (invoke "main") (i32.const 2))
|