blob: 9cd5ee6feeeabdfb839720e868ebfb7e95cbc182 (
plain)
1
2
3
4
5
6
7
8
|
#include <string.h>
int main()
{
char s[5]; /* { dg-message "region created on stack here" } */
memmove(s, s + 1, 2); /* { dg-warning "use of uninitialized value" } */
return 0;
}
|