blob: 4f3849ea2e54a93a2e82aaf3ed2b10d4f98db69c [file] [log] [blame]
// RUN: test.sh -e -t %t %s
#include <string.h>
// memccpy() called with too short a source.
int main()
{
char src[] = "aaaaaaa";
char abc[100];
char dst[100];
memccpy(dst, src, 'b', 11);
return 0;
}