]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/Warray-parameter-10.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / Warray-parameter-10.c
CommitLineData
ea9e0d6c
MS
1/* PR c/102759 - ICE calling a function taking an argument redeclared
2 without a prototype.
3 { dg-do compile }
4 { dg-options "-Wall" } */
5
6void f (void)
7{
8 void gia (int[2]);
9 void g ();
10}
11
12/* Redeclaring the g(int[]) above without a prototype loses it. */
13void gia ();
14void g (int[2]);
15
16void h (void )
17{
18 gia (gia);
19 gia (g);
20}