Files
lightning/ccan/ccan/build_assert/test/compile_fail.c
Rusty Russell 74d471d4e4 ccan: update.
This gives us a slew of -Wextra fixes (not all of them though!) but
we're actually doing it for the monotonic version of timers.

This breaks some stuff, so we fix that up next.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-11-09 18:55:15 +10:30

10 lines
117 B
C

#include <ccan/build_assert/build_assert.h>
int main(void)
{
#ifdef FAIL
BUILD_ASSERT(1 == 0);
#endif
return 0;
}