blob: d13da3eb04487b9d0987d01765ece14b243d8747 [file] [log] [blame]
typedef struct list
{
struct list *next;
} tlist;
void
bar (struct list *l)
{
l->next = l->next->next;
}
void
foo (void)
{
struct list l;
tlist t = l; /* { dg-warning "use of uninitialized value 'l'" } */
for (;;)
bar (&t);
}