projects
/
ccan
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First cut, some hacks, three simple modules.
[ccan]
/
check_type
/
test
/
compile_fail-check_type_unsigned.c
1
#include "check_type/check_type.h"
2
3
int main(int argc, char *argv[])
4
{
5
#ifdef FAIL
6
#if HAVE_TYPEOF
7
check_type(argc, unsigned int);
8
#else
9
/* This doesn't work without typeof, so just fail */
10
#error "Fail without typeof"
11
#endif
12
#endif
13
return 0;
14
}