Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
skeleton
/
7f7120e38848f383da95da7b13f0895b7d2a6f04
/
.
/
objects
/
pflash
/
ccan
/
check_type
/
test
/
compile_fail-check_type_unsigned.c
blob: 8c0227af24ba7b57dfc7ed291d2ae25aeb014562 [
file
] [
log
] [
blame
]
#include
<ccan/check_type/check_type.h>
int
main
(
int
argc
,
char
*
argv
[])
{
#ifdef
FAIL
#if HAVE_TYPEOF
check_type
(
argc
,
unsigned
int
);
#else
/* This doesn't work without typeof, so just fail */
#error
"Fail without typeof"
#endif
#endif
return
0
;
}