blob: 33d365538aff0a28c6f5b7f36119363ab6d7ae71 [file] [log] [blame]
#define CCAN_STR_DEBUG 1
#include <ccan/str/str.h>
int main(int argc, char *argv[])
{
(void)argc;
#ifdef FAIL
#if !HAVE_BUILTIN_TYPES_COMPATIBLE_P || !HAVE_TYPEOF
#error We need typeof to check isalpha.
#endif
char
#else
unsigned char
#endif
c = argv[0][0];
#ifdef FAIL
/* Fake fail on unsigned char platforms. */
BUILD_ASSERT((char)255 < 0);
#endif
return isalpha(c);
}