tests
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
ret > ExitSuccess
|
||||
out > 555
|
||||
out >
|
||||
err > warning: using `--invoke` with a function that returns values is experimental and may break in the future
|
||||
err >
|
||||
@@ -0,0 +1,11 @@
|
||||
(module
|
||||
(func
|
||||
(param)
|
||||
(result i32)
|
||||
(local i32 i32 i32 i32 i32)
|
||||
(i32.const 0)
|
||||
(if
|
||||
(result i32)
|
||||
(then (i32.const 777))
|
||||
(else (i32.const 555))))
|
||||
(export "main" (func 0)))
|
||||
@@ -0,0 +1 @@
|
||||
(if #false 777 555)
|
||||
Reference in New Issue
Block a user