PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr25737.c
blob9da63adceab56829ac2553cf2ab3d3daae74d841
1 extern void abort (void);
3 struct delay_block {
4 struct delay_block *succ;
5 };
7 static struct delay_block Timer_Queue;
9 struct delay_block* time_enqueue (struct delay_block *d)
11 struct delay_block *q = Timer_Queue.succ;
12 d->succ = (void *)0;
13 return Timer_Queue.succ;
16 int main(void)
18 Timer_Queue.succ = &Timer_Queue;
19 if (time_enqueue (&Timer_Queue) != (void*)0)
20 abort ();
21 return 0;