summaryrefslogtreecommitdiff
path: root/tests/manual/hello/src/main.cpp
blob: 6334c608bac688c53aed07464e9473c2bdfd0213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "foo.h"
#include <stdio.h>

#ifndef HAVE_MAIN_CPP
#   error missing define HAVE_MAIN_CPP
#endif

#ifndef SOMETHING
#   error missing define SOMETHING
#endif

int main()
{
    someUsefulFunction();
#ifdef _DEBUG
    puts("Hello World! (debug version)");
#else
    puts("Hello World! (release version)");
#endif
}