-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a case shows that block can have inputs
- Loading branch information
1 parent
ea20ef7
commit a1caf0f
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
(module | ||
(func $test_block (param i32 i32 i32) (result i32) | ||
local.get 0 | ||
local.get 1 | ||
local.get 2 | ||
block (param i32 i32 i32) (result i32 i32) | ||
i32.add | ||
end | ||
i32.add | ||
) | ||
|
||
(func $real_main (result i32) | ||
i32.const 1 | ||
i32.const 3 | ||
i32.const 5 | ||
call $test_block | ||
) | ||
(export "real_main" (func $real_main)) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters