diff options
Diffstat (limited to 'ccan/check_type/test/compile_fail-check_types_match.c')
-rw-r--r-- | ccan/check_type/test/compile_fail-check_types_match.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ccan/check_type/test/compile_fail-check_types_match.c b/ccan/check_type/test/compile_fail-check_types_match.c new file mode 100644 index 0000000..cbd6e9b --- /dev/null +++ b/ccan/check_type/test/compile_fail-check_types_match.c @@ -0,0 +1,10 @@ +#include <ccan/check_type/check_type.h> + +int main(int argc, char *argv[]) +{ + unsigned char x = argc; +#ifdef FAIL + check_types_match(argc, x); +#endif + return x; +} |