timer: handle time going backwards.
[ccan] / ccan / cast / test / compile_fail-cast_signed.c
1 #include <ccan/cast/cast.h>
2 #include <stdlib.h>
3
4 int main(void)
5 {
6         unsigned char *uc;
7 #ifdef FAIL
8         int
9 #else
10         char
11 #endif
12                 *p = NULL;
13
14         uc = cast_signed(unsigned char *, p);
15         (void) uc; /* Suppress unused-but-set-variable warning. */
16         return 0;
17 }