diff options
-rwxr-xr-x | check.py | 2 | ||||
-rw-r--r-- | test/hello_world.wasm2asm.js | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -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; + } + +} + |