blob: b42e64ce3389ffa2a24f3a5ae04356ee1f335321 [file] [log] [blame]
char *
fopen (const char *restrict, const char *restrict);
void
k2 (void)
{
char *setfiles[1];
int i; /* { dg-message "region created on stack here" } */
setfiles[i] = fopen ("", ""); /* { dg-warning "use of uninitialized value 'i'" } */
} /* { dg-warning "leak of FILE" } */