diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-04 17:07:25 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-04 17:07:25 -0800 |
commit | 26a3a085fc1be4f3d648a2e5e6b05c54f4b04a00 (patch) | |
tree | e791121bed35a7bfe1377ac8eca0151309842c24 /tests/hello_libcxx_mod2.cpp | |
parent | 719e805ecfe14ec3582bb8285527e4a9fde5cb21 (diff) |
emscripten_jcache_printf
Diffstat (limited to 'tests/hello_libcxx_mod2.cpp')
-rw-r--r-- | tests/hello_libcxx_mod2.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hello_libcxx_mod2.cpp b/tests/hello_libcxx_mod2.cpp new file mode 100644 index 00000000..b18a523a --- /dev/null +++ b/tests/hello_libcxx_mod2.cpp @@ -0,0 +1,10 @@ +#include <iostream> +#include <emscripten.h> + +int main() +{ + std::cout << "hello, world!" << std::endl; + emscripten_jcache_printf("waka %d waka\n", 5); + return 0; +} + |