1 /* PR debug/94277 */
2 /* { dg-do compile } */
3 /* { dg-options "-fcompare-debug" } */
4
5 static void foo (void); /* { dg-warning "used but never defined" } */
6
7 void
8 bar (void)
9 {
10 foo ();
11 }