]> git.ozlabs.org Git - ccan/blobdiff - ccan/str/test/debug.c
str: provide checks for ctype.h char functions, and strstr and strchr functions.
[ccan] / ccan / str / test / debug.c
diff --git a/ccan/str/test/debug.c b/ccan/str/test/debug.c
new file mode 100644 (file)
index 0000000..4bd384f
--- /dev/null
@@ -0,0 +1,5 @@
+/* We can't use the normal "#include the .c file" trick, since this is
+   contaminated by str.h's macro overrides.  So we put it in all tests
+   like this. */
+#define CCAN_STR_DEBUG 1
+#include <ccan/str/debug.c>