summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-04 21:52:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-04 21:52:59 -0800
commite72f45c46d7f0416dda883c9ba35cd3f62feb7be (patch)
treeedcf9294928aca167ebe276aa34cfc0167ee949a /test
parent23f28802796080813f0e806248a91a9ad5fc6275 (diff)
downloadbinaryen-e72f45c46d7f0416dda883c9ba35cd3f62feb7be.tar.gz
binaryen-e72f45c46d7f0416dda883c9ba35cd3f62feb7be.tar.bz2
binaryen-e72f45c46d7f0416dda883c9ba35cd3f62feb7be.zip
add another wasm2asm testcase
Diffstat (limited to 'test')
-rw-r--r--test/hello_world.wasm2asm.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/hello_world.wasm2asm.js b/test/hello_world.wasm2asm.js
new file mode 100644
index 000000000..d3996fb49
--- /dev/null
+++ b/test/hello_world.wasm2asm.js
@@ -0,0 +1,9 @@
+function asmFunc() {
+ function add(x, y) {
+ x = x | 0;
+ y = y | 0;
+ return x + y | 0;
+ }
+
+}
+