gcc/testsuite/gcc.dg/torture/pr97330-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-Wno-old-style-definition" } */ |
| 3 | |
| 4 | typedef int a; |
| 5 | typedef char b; |
| 6 | int c; |
| 7 | void d(e, f, dst, g, avail, h) int e; |
| 8 | b *f, *dst; |
| 9 | a g, avail; |
| 10 | int h; |
| 11 | { |
| 12 | b i = *f; |
| 13 | if (e) |
| 14 | goto j; |
| 15 | while (avail) { |
| 16 | *dst = i; |
| 17 | j: |
| 18 | avail -= c; |
| 19 | } |
| 20 | } |