aboutsummaryrefslogtreecommitdiff
path: root/tests/build-pedantic.c.in
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-04-08 17:23:04 +0200
committerJonas Ådahl <jadahl@gmail.com>2021-03-26 15:50:36 +0100
commit5cb6b92f0111d91f68eb268ad025cab783d25f14 (patch)
tree2a54c35623cda612566c712ef32d0bc36c823fd8 /tests/build-pedantic.c.in
parent79b9a42514963939b4c2283f9ab1a081d1bc36dc (diff)
tests: Add compile tests
Only tested by the meson build system. Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Reviewed-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tests/build-pedantic.c.in')
-rw-r--r--tests/build-pedantic.c.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/build-pedantic.c.in b/tests/build-pedantic.c.in
new file mode 100644
index 0000000..51dfeac
--- /dev/null
+++ b/tests/build-pedantic.c.in
@@ -0,0 +1,10 @@
+#include "@PROTOCOL_CLIENT_INCLUDE_FILE@"
+#include "@PROTOCOL_SERVER_INCLUDE_FILE@"
+
+/* This is a build-test only */
+
+int
+main(int argc, char **argv)
+{
+ return 0;
+}