diff options
Diffstat (limited to 'test/hello_world.wast')
-rw-r--r-- | test/hello_world.wast | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/hello_world.wast b/test/hello_world.wast index 0a2dd083d..915c4a99a 100644 --- a/test/hello_world.wast +++ b/test/hello_world.wast @@ -1,7 +1,8 @@ (module (memory 256 256) + (type $0 (func (param i32 i32) (result i32))) (export "add" $add) - (func $add (param $x i32) (param $y i32) (result i32) + (func $add (type $0) (param $x i32) (param $y i32) (result i32) (i32.add (get_local $x) (get_local $y) |