1 /* PR c++/64079 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunused-function" } */
4 
5 #pragma GCC diagnostic push
6 #pragma GCC diagnostic ignored "-Wunused-function"
7 
bar()8 static void bar() {}
9 
10 #pragma GCC diagnostic pop
11