1 // PR debug/66869
2 // { dg-do compile }
3 // { dg-options "-Wunused-function" }
4 
5 static void test (void); // { dg-warning "'void test..' declared 'static' but never defined" }
6 int i;
7