summaryrefslogtreecommitdiffstats
path: root/src/doctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doctest.c')
-rw-r--r--src/doctest.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/doctest.c b/src/doctest.c
new file mode 100644
index 0000000..34646c1
--- /dev/null
+++ b/src/doctest.c
@@ -0,0 +1,9 @@
+/*
+ * Doctest generation. See doctest.h for more information.
+ */
+#include "doctest.h"
+
+/* This is unusual, but it works. */
+#ifdef DOCTEST
+#include "doc.c"
+#endif