PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / decl-5.c
blob9b7782464598bb47f86f24223ea1b87c965271d5
1 /* PR c/14114 */
2 /* Origin: <snyder@fnal.gov> */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -g" } */
6 /* This used to fail because the compiler thought that the
7 declaration of 'c' from 'b' was shadowing that from 'a'. */
9 void a()
11 void c();
12 c();
15 void b()
17 void c();
20 void c() {}