diff options
Diffstat (limited to 'tests/manual/hello/src/main.cpp')
-rw-r--r-- | tests/manual/hello/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/manual/hello/src/main.cpp b/tests/manual/hello/src/main.cpp new file mode 100644 index 000000000..c08389c00 --- /dev/null +++ b/tests/manual/hello/src/main.cpp @@ -0,0 +1,17 @@ +#include "foo.h" +#include <stdio.h> + +#ifndef HAVE_MAIN_CPP +# error missing define HAVE_MAIN_CPP +#endif + +int main() +{ + someUsefulFunction(); +#ifdef _DEBUG + puts("Hello World! (debug version)"); +#else + puts("Hello World! (release version)"); +#endif +} + |