summaryrefslogtreecommitdiff
path: root/tests/headertest.c
diff options
context:
space:
mode:
authorPeter Pettersson <boretrk@hotmail.com>2021-10-02 23:54:14 +0200
committerPeter Pettersson <boretrk@hotmail.com>2021-11-15 16:45:14 +0100
commit5221e1854846ac31dd2ada44fb29dc705104e851 (patch)
tree6d4adba8c5490dc85d8f6bbbd9a42b585082f177 /tests/headertest.c
parent23c5c315d5f6a3e93cdb1bf1f51016fbacb86881 (diff)
downloadlibgit2-5221e1854846ac31dd2ada44fb29dc705104e851.tar.gz
Add target for testing libgit2 headers
Diffstat (limited to 'tests/headertest.c')
-rw-r--r--tests/headertest.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/headertest.c b/tests/headertest.c
new file mode 100644
index 000000000..2af8a14ec
--- /dev/null
+++ b/tests/headertest.c
@@ -0,0 +1,13 @@
+/*
+ * Dummy project to validate header files
+ *
+ * This project is not intended to be executed, it should only include all
+ * header files to make sure that they can be used with stricter compiler
+ * settings than the libgit2 source files generally supports.
+ */
+#include "git2.h"
+
+int main(void)
+{
+ return 0;
+}