summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-10-29 13:01:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2015-10-29 13:03:46 -0700
commitd455c96f4d4b6289c6a75dd918d138de5129ef04 (patch)
treee1e181ca8b4b6cc90c020a66df338be36f5459c1 /test
parent4fbd4f442a899e1c87cb1a60f52916339d42534c (diff)
downloadbinaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.tar.gz
binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.tar.bz2
binaryen-d455c96f4d4b6289c6a75dd918d138de5129ef04.zip
add testing
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)
+ )
+ )
+ )
+ )
+)