summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck.py2
-rw-r--r--test/hello_world.wasm2asm.js9
2 files changed, 10 insertions, 1 deletions
diff --git a/check.py b/check.py
index a0517aff5..38db9d7c4 100755
--- a/check.py
+++ b/check.py
@@ -76,7 +76,7 @@ for asm in tests:
print '\n[ checking wasm2asm testcases... ]\n'
-for wasm in ['min.wast']:
+for wasm in ['min.wast', 'hello_world.wast']:
if wasm.endswith('.wast'):
print '..', wasm
asm = wasm.replace('.wast', '.wasm2asm.js')
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;
+ }
+
+}
+