summaryrefslogtreecommitdiff
path: root/auto_tests/monolith_test.cpp
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-20 21:26:32 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-21 20:56:30 +0000
commit033965b8ccada5f247a68ac92da23a73a37d9d90 (patch)
treeb78269ea5ce534b0898a0ded9f33a2de179a8549 /auto_tests/monolith_test.cpp
parent52778aed9391538287874b1f027994cef15b10d4 (diff)
Make the monolith test a C++ binary.
This way, developers compile toxcore, toxav, and toxencryptsave as C++ at least once at home, reducing the likelyhood of running into travis failures where we compile as C++ in the windows build.
Diffstat (limited to 'auto_tests/monolith_test.cpp')
-rw-r--r--auto_tests/monolith_test.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/auto_tests/monolith_test.cpp b/auto_tests/monolith_test.cpp
new file mode 100644
index 00000000..253d2bd3
--- /dev/null
+++ b/auto_tests/monolith_test.cpp
@@ -0,0 +1,16 @@
1/* Auto Tests: One instance.
2 */
3
4#define _DARWIN_C_SOURCE
5#define _XOPEN_SOURCE 600
6
7#ifdef HAVE_CONFIG_H
8#include "config.h"
9#endif
10
11#include "../other/monolith.h"
12
13int main(int argc, char *argv[])
14{
15 return 0;
16}