diff options
Diffstat (limited to 'ccan/str/test/compile_fail-strstr.c')
| -rw-r--r-- | ccan/str/test/compile_fail-strstr.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ccan/str/test/compile_fail-strstr.c b/ccan/str/test/compile_fail-strstr.c deleted file mode 100644 index 7bd8ac2..0000000 --- a/ccan/str/test/compile_fail-strstr.c +++ /dev/null @@ -1,18 +0,0 @@ -#define CCAN_STR_DEBUG 1 -#include <ccan/str/str.h> - -int main(void) -{ -#ifdef FAIL -#if !HAVE_TYPEOF - #error We need typeof to check strstr. -#endif -#else - const -#endif - char *ret; - const char *str = "hello"; - - ret = strstr(str, "hell"); - return ret ? 0 : 1; -} |
