]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/test/compile_fail.c
Move modules to ccan/ tools to tools/
[ccan] / ccan / build_assert / test / compile_fail.c
diff --git a/ccan/build_assert/test/compile_fail.c b/ccan/build_assert/test/compile_fail.c
new file mode 100644 (file)
index 0000000..a6867db
--- /dev/null
@@ -0,0 +1,9 @@
+#include "build_assert/build_assert.h"
+
+int main(int argc, char *argv[])
+{
+#ifdef FAIL
+       BUILD_ASSERT(1 == 0);
+#endif
+       return 0;
+}