gcc/testsuite/gcc.dg/parm-forwdecl-4.c
raw| 1 | /* Test GNU parameter forward declarations. OK with |
| 2 | -Wredundant-decls. */ |
| 3 | /* Origin: Joseph Myers <[email protected]> */ |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-options "-Wredundant-decls" } */ |
| 6 | |
| 7 | int f1(int a; int a); |
| 8 | int f2(int a; int a) { return 0; } |
| 9 | int f3(int a; int a; int a); |
| 10 | int f4(int a; int a; int a) { return 0; } |