diff options
| author | William Casarin <jb55@jb55.com> | 2018-07-09 22:28:25 -0700 |
|---|---|---|
| committer | William Casarin <jb55@jb55.com> | 2018-07-09 22:31:48 -0700 |
| commit | 9593fc545950782ed75f12f53238b07885559b2b (patch) | |
| tree | 9c7c2f7cbb427c54e9184cb61eedce737a6cbc6f /ccan/str/test/compile_fail-isspace.c | |
| parent | bd8c223756d2f912526ecef53bae0cc8e0c63442 (diff) | |
remove ccan for now
Diffstat (limited to 'ccan/str/test/compile_fail-isspace.c')
| -rw-r--r-- | ccan/str/test/compile_fail-isspace.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ccan/str/test/compile_fail-isspace.c b/ccan/str/test/compile_fail-isspace.c deleted file mode 100644 index 798cfcd..0000000 --- a/ccan/str/test/compile_fail-isspace.c +++ /dev/null @@ -1,23 +0,0 @@ -#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 isspace. -#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 isspace(c); -} |
