summaryrefslogtreecommitdiff
path: root/tests/test_compile.cc
diff options
context:
space:
mode:
authorjvoisin2024-06-21 16:25:40 +0200
committerjvoisin2024-06-21 16:40:26 +0200
commit8f8e5c1a7854f05bfa94fc41033706bc14682223 (patch)
tree264128ebf99ff382fdabd6a102b53d5306535aef /tests/test_compile.cc
parent520e7e4a631cc038b3e867b2255235da35a98ece (diff)
Add a test for C++ compilation
Diffstat (limited to 'tests/test_compile.cc')
-rw-r--r--tests/test_compile.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/test_compile.cc b/tests/test_compile.cc
new file mode 100644
index 0000000..edbbb27
--- /dev/null
+++ b/tests/test_compile.cc
@@ -0,0 +1,18 @@
1#include "common.h"
2
3#include <poll.h>
4#include <stdio.h>
5#include <stdlib.h>
6#include <string.h>
7#include <strings.h>
8#include <unistd.h>
9#include <wchar.h>
10
11#include <sys/select.h>
12#include <sys/socket.h>
13#include <sys/stat.h>
14
15// Check that all headers are compiling.
16int main(int argc, char** argv) {
17 return 0;
18}