]> git.ozlabs.org Git - ponghero.git/blobdiff - ccan/check_type/test/compile_fail-check_types_match.c
Prepare for release: rename to ponghero and pull in ccan.
[ponghero.git] / ccan / check_type / test / compile_fail-check_types_match.c
diff --git a/ccan/check_type/test/compile_fail-check_types_match.c b/ccan/check_type/test/compile_fail-check_types_match.c
new file mode 100644 (file)
index 0000000..bc1f9c3
--- /dev/null
@@ -0,0 +1,10 @@
+#include "check_type/check_type.h"
+
+int main(int argc, char *argv[])
+{
+       unsigned char x = argc;
+#ifdef FAIL
+       check_types_match(argc, x);
+#endif
+       return x;
+}