summaryrefslogtreecommitdiff
path: root/lib/ccan/check_type/test/compile_fail-check_type_unsigned.c
blob: 574d4aeb2402cf3f5ac6d0e7c3a1fe11a3e3de79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
}