(intel_02_cache_info): Add missing entries for recent processor.
[glibc/history.git] / string / tst-strtok.c
blob7e34aeefaa91df9fc19bbc90db082094adbf2163
1 /* Testcase for strtok reported by Andrew Church <achurch@achurch.org>. */
2 #include <stdio.h>
3 #include <string.h>
5 int
6 main (void)
8 char buf[1] = { 0 };
9 int result = 0;
11 if (strtok (buf, " ") != NULL)
13 puts ("first strtok call did not return NULL");
14 result = 1;
16 else if (strtok (NULL, " ") != NULL)
18 puts ("second strtok call did not return NULL");
19 result = 1;
22 return result;