summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/hello_world.wasm13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hello_world.wasm b/test/hello_world.wasm
new file mode 100644
index 000000000..66dd61c42
--- /dev/null
+++ b/test/hello_world.wasm
@@ -0,0 +1,13 @@
+(module
+ (export $add "add" $add)
+ (func $add (param $x i32) (param $y i32) (result i32)
+ (block $topmost
+ (break $topmost
+ (i32.add
+ (get_local $x)
+ (get_local $y)
+ )
+ )
+ )
+ )
+)