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; }