Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/parm-forwdecl-4.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* Test GNU parameter forward declarations. OK with |
2 -Wredundant-decls. */ | |
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */ | |
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; } |