diff options
Diffstat (limited to 'tests/proj2/tests/call2.wat')
| -rw-r--r-- | tests/proj2/tests/call2.wat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/proj2/tests/call2.wat b/tests/proj2/tests/call2.wat new file mode 100644 index 0000000..e7408eb --- /dev/null +++ b/tests/proj2/tests/call2.wat @@ -0,0 +1,8 @@ +(module + (func $add (param i32 i32) (result i32) + (i32.add (local.get 0) (local.get 1)) + ) + (func (export "main") (param i32 i32) (result i32) + (call $add (local.get 0) (local.get 1)) + ) +) |
