Dumped code from the wasm2cretonne repo
This commit is contained in:
10
lib/wasm2cretonne-util/filetests/call.wast
Normal file
10
lib/wasm2cretonne-util/filetests/call.wast
Normal file
@@ -0,0 +1,10 @@
|
||||
(module
|
||||
(func $main (local i32)
|
||||
(set_local 0 (i32.const 0))
|
||||
(drop (call $inc))
|
||||
)
|
||||
(func $inc (result i32)
|
||||
(i32.const 1)
|
||||
)
|
||||
(start $main)
|
||||
)
|
||||
Reference in New Issue
Block a user