From 03e1465919fe68416fc4b4e19a14f96456578002 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 14 Dec 2015 20:12:13 -0800 Subject: add first WASM_BACKEND output testcase --- test/wasm_backend/hello_world.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/wasm_backend/hello_world.cpp (limited to 'test/wasm_backend/hello_world.cpp') 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 + +int main() { + EM_ASM({ + Module.print("hello, world!"); + }); +} + -- cgit v1.2.3