diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-12-14 20:12:13 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-12-14 20:18:36 -0800 |
commit | 03e1465919fe68416fc4b4e19a14f96456578002 (patch) | |
tree | 48701512810034e5ea3c3981832b32d947810fb3 /test/wasm_backend/hello_world.cpp | |
parent | 7314f30d61b4850b2b4c7850901725ea287fd715 (diff) | |
download | binaryen-03e1465919fe68416fc4b4e19a14f96456578002.tar.gz binaryen-03e1465919fe68416fc4b4e19a14f96456578002.tar.bz2 binaryen-03e1465919fe68416fc4b4e19a14f96456578002.zip |
add first WASM_BACKEND output testcase
Diffstat (limited to 'test/wasm_backend/hello_world.cpp')
-rw-r--r-- | test/wasm_backend/hello_world.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/wasm_backend/hello_world.cpp b/test/wasm_backend/hello_world.cpp new file mode 100644 index 000000000..a4a6a025d --- /dev/null +++ b/test/wasm_backend/hello_world.cpp @@ -0,0 +1,8 @@ +#include <emscripten.h> + +int main() { + EM_ASM({ + Module.print("hello, world!"); + }); +} + |