Files
wasmtime/crates/misc/py/examples/two_modules/two.wat
Dan Gohman 22641de629 Initial reorg.
This is largely the same as #305, but updated for the current tree.
2019-11-08 06:35:40 -08:00

12 lines
258 B
Plaintext

(module
(import "one" "memory" (memory $memory 0))
(import "one" "bar" (func $bar (result i32)))
(export "ask" (func $foo))
(func $foo (result i32)
call $bar
;; Deference returned pointer to the value from imported memory
i32.load
)
)