aboutsummaryrefslogtreecommitdiff
path: root/tests/core/test_cxx03_do_run.in
diff options
context:
space:
mode:
authorVasilis Kalintiris <ehostunreach@gmail.com>2013-12-14 16:04:52 +0200
committerVasilis Kalintiris <ehostunreach@gmail.com>2013-12-15 20:51:29 +0200
commitc05cdf26c872f76dad82194305c28a53e9123677 (patch)
treeb9c48a759b8b2e58c4714e11aa8cd992de8bd0a4 /tests/core/test_cxx03_do_run.in
parent94e1d887ffebcbf640fbca19c76331f6dffbff23 (diff)
Fix the indentation of core test input files with clang-format.
Diffstat (limited to 'tests/core/test_cxx03_do_run.in')
-rw-r--r--tests/core/test_cxx03_do_run.in18
1 files changed, 8 insertions, 10 deletions
diff --git a/tests/core/test_cxx03_do_run.in b/tests/core/test_cxx03_do_run.in
index ec7d1189..2ed0d2cf 100644
--- a/tests/core/test_cxx03_do_run.in
+++ b/tests/core/test_cxx03_do_run.in
@@ -1,12 +1,10 @@
+#include <stdio.h>
- #include <stdio.h>
+#if __cplusplus != 199711L
+#error By default, if no -std is specified, emscripten should be compiling with -std=c++03!
+#endif
- #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;
- }
- \ No newline at end of file
+int main(int argc, const char *argv[]) {
+ printf("Hello world!\n");
+ return 0;
+}