mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-07-20 22:25:43 +00:00
Add gas tests.
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
(module
|
||||
(import "env" "ext_return" (func $ext_return (param i32 i32)))
|
||||
(import "env" "memory" (memory 1 1))
|
||||
|
||||
(start $start)
|
||||
(func $start
|
||||
(call $ext_return
|
||||
(i32.const 8)
|
||||
(i32.const 4)
|
||||
)
|
||||
(unreachable)
|
||||
)
|
||||
|
||||
(func (export "call")
|
||||
)
|
||||
|
||||
(data (i32.const 8) "\01\02\03\04")
|
||||
)
|
||||
Reference in New Issue
Block a user