summaryrefslogtreecommitdiff
path: root/test/hello_world.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/hello_world.wast.fromBinary')
-rw-r--r--test/hello_world.wast.fromBinary12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/hello_world.wast.fromBinary b/test/hello_world.wast.fromBinary
new file mode 100644
index 000000000..4027521a1
--- /dev/null
+++ b/test/hello_world.wast.fromBinary
@@ -0,0 +1,12 @@
+(module
+ (memory 16777216 16777216)
+ (type $0 (func (param i32 i32) (result i32)))
+ (export "add" $add)
+ (func $add (param $var$0 i32) (param $var$1 i32)
+ (i32.add
+ (get_local $var$0)
+ (get_local $var$0)
+ )
+ )
+)
+