blob: 456bb6d8cab281e11ddae6c0320f7f43c6f47962 [file] [log] [blame]
// RUN: test.sh -e -t %t %s
// strstr() with an unterminated substring.
#include <string.h>
int main()
{
char substring[] = { 'a', 'b', 'c' };
char string[] = "abcdefg";
strstr(string, substring);
return 0;
}