summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/hello_world.fromasm')
-rw-r--r--test/hello_world.fromasm10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hello_world.fromasm b/test/hello_world.fromasm
new file mode 100644
index 000000000..1c8f9d359
--- /dev/null
+++ b/test/hello_world.fromasm
@@ -0,0 +1,10 @@
+(module
+ (memory 16777216 16777216)
+ (export "add" $add)
+ (func $add (param $x i32) (param $y i32) (result i32)
+ (i32.add
+ (get_local $x)
+ (get_local $y)
+ )
+ )
+)