diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-03 18:51:29 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-03 18:51:29 -0800 |
commit | 42a910da1fab3bb5d793e5ca3d9ede9244781255 (patch) | |
tree | ee1e1a4d3a9ef57c13746b32641605e858daad3c /tests/hello_cxx03.cpp | |
parent | 0e2d5b6ed1e97e3c8ab07b53d9e5534c10f294af (diff) | |
parent | d779fe7e6ad05ef1a9ba70d3f160c4f87878d997 (diff) |
Merge pull request #825 from juj/std
Std
Diffstat (limited to 'tests/hello_cxx03.cpp')
-rw-r--r-- | tests/hello_cxx03.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hello_cxx03.cpp b/tests/hello_cxx03.cpp new file mode 100644 index 00000000..d6cc766a --- /dev/null +++ b/tests/hello_cxx03.cpp @@ -0,0 +1,10 @@ +#include <stdio.h> + +#if __cplusplus != 199711L +#error By default, if no -std is specified, emscripten should be compiling with -std=c++03! +#endif + +int main( int argc, const char *argv[] ) { + printf("Hello world!\\n"); + return 0; +} |