blob: 254ee433adae3fc7997d6bb1171fbd8f99016006 [file] [log] [blame]
// RUN: test.sh -e -t %t %s
// strrchr() with an unterminated string searching for a character not
// that is not found in the string.
#include <string.h>
int main()
{
char a[1000];
memset(a, 'a', 1000);
strrchr(a, 'X');
return 0;
}