gcc/testsuite/gcc.c-torture/compile/20040309-1.c
raw| 1 | /* { dg-additional-options "-std=gnu89" } */ |
| 2 | |
| 3 | static const char default_tupleseps[] = ", \t"; |
| 4 | |
| 5 | |
| 6 | fubar (tupleseps) |
| 7 | const char *tupleseps; |
| 8 | { |
| 9 | char *kp, *sp; |
| 10 | const char *septmp; |
| 11 | const char *tseplist; |
| 12 | tseplist = (tupleseps) ? tupleseps : default_tupleseps; |
| 13 | while (kp) |
| 14 | { |
| 15 | if (*tseplist) |
| 16 | septmp = tseplist; |
| 17 | bar (*septmp); |
| 18 | if (*tseplist) |
| 19 | if (*kp) |
| 20 | ; |
| 21 | } |
| 22 | } |