blob: a3c892fb91d76dd6d68874a1f97ff98634ddea86 [file] [log] [blame]
// RUN: test.sh -e -t %t %s
// strcat() with nothing copied although strings overlap.
#include <string.h>
int main()
{
char string[7] = "string";
strcat(string, &string[6]);
return 0;
}