git.samba.org
/
samba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lib: import ccan modules for tdb2
[samba.git]
/
lib
/
ccan
/
cast
/
test
/
compile_fail-cast_signed.c
1
#include <ccan/cast/cast.h>
2
#include <stdlib.h>
3
4
int main(int argc, char *argv[])
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
}