From 2c9072c4e58f6908d68a401557479b9e74456df2 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 29 Oct 2015 11:57:21 -0700 Subject: add test --- test/hello_world.asm.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/hello_world.asm.js (limited to 'test/hello_world.asm.js') 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 }; +} + -- cgit v1.2.3