This repository has been archived on 2022-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
ableos-wasm-loader/wasm/test.wat
2021-11-12 16:01:59 -06:00

9 lines
265 B
Plaintext

(module
(import "host" "add" (func $add (param i32 i32)(result i32)))
(; (import "host" "empty" (func $empty)) ;)
(func (export "main") (result i32)
(; (call $empty) ;)
(call $add (i32.const 123) (i32.const 456))
)
)