./:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20000420-1.c
blob552f02e423cc6b1b82e946b26dd039d500df309b
1 struct z_candidate { struct z_candidate *next;int viable;};
2 int pedantic;
4 static struct z_candidate *
5 splice_viable (cands)
6 struct z_candidate *cands;
8 struct z_candidate **p = &cands;
10 for (; *p; )
12 if (pedantic ? (*p)->viable == 1 : (*p)->viable)
13 p = &((*p)->next);
14 else
15 *p = (*p)->next;
18 return cands;