summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/parm-forwdecl-4.c
blob: a210092e1d5a36eab1747b6b03d406bae1022091 (plain)
1
2
3
4
5
6
7
8
9
10
/* Test GNU parameter forward declarations.  OK with
   -Wredundant-decls.  */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-Wredundant-decls" } */

int f1(int a; int a);
int f2(int a; int a) { return 0; }
int f3(int a; int a; int a);
int f4(int a; int a; int a) { return 0; }