blob: d972bb0396fc87810f9b4c5b00a253cb75625d18 [file] [log] [blame]
// RUN: test.sh -e -t %t %s
// strspn() 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, "bcda");
return 0;
}