summaryrefslogtreecommitdiff
path: root/lib/ccan/build_assert/test/compile_ok.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ccan/build_assert/test/compile_ok.c')
-rw-r--r--lib/ccan/build_assert/test/compile_ok.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ccan/build_assert/test/compile_ok.c b/lib/ccan/build_assert/test/compile_ok.c
new file mode 100644
index 0000000000..4105484d1f
--- /dev/null
+++ b/lib/ccan/build_assert/test/compile_ok.c
@@ -0,0 +1,7 @@
+#include <ccan/build_assert/build_assert.h>
+
+int main(int argc, char *argv[])
+{
+ BUILD_ASSERT(1 == 1);
+ return 0;
+}