blob: 36529e10f19725a106a4720f3f7d4fff3532eccf [file] [log] [blame]
// RUN: test.sh -e -t %t %s
// strcspn() reading past end of the input string.
#include <string.h>
int main()
{
char input[100];
memset(input, 'a', 100);
size_t result;
result = strspn(input, "ghijk");
return 0;
}