diff options
Diffstat (limited to 'test/hello_world.asm.js')
-rw-r--r-- | test/hello_world.asm.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/hello_world.asm.js b/test/hello_world.asm.js new file mode 100644 index 000000000..a41fe1a65 --- /dev/null +++ b/test/hello_world.asm.js @@ -0,0 +1,10 @@ +function () { + "use asm"; + function add(x, y) { + x = x | 0; + y = y | 0; + return x + y | 0; + } + return { add: add }; +} + |