diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-05 18:26:02 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-05 18:26:02 -0800 |
commit | 5a99d2567e76f257309cfd225876f3a5402e5f46 (patch) | |
tree | 4017c62d53033d3cdfb1cdeb26529190d58784b2 /tests/hello_cxx11.cpp | |
parent | ac0972ebf6cb8ff17f1bbbf01526d29fd2d2f420 (diff) | |
parent | 9aa7bbf6987cad3cff53906c5d6a6e77b6bd5b9c (diff) |
Merge branch 'incoming'
Diffstat (limited to 'tests/hello_cxx11.cpp')
-rw-r--r-- | tests/hello_cxx11.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hello_cxx11.cpp b/tests/hello_cxx11.cpp new file mode 100644 index 00000000..cfce039a --- /dev/null +++ b/tests/hello_cxx11.cpp @@ -0,0 +1,10 @@ +#include <stdio.h> + +#if __cplusplus != 201103L +#error This file should be compiled with -std=c++11! +#endif + +int main( int argc, const char *argv[] ) { + printf("Hello world!\\n"); + return 0; +} |