* ubsan.c (ubsan_expand_null_ifn): Use _v1 suffixed type mismatch
[official-gcc.git] / gcc / testsuite / c-c++-common / Wunused-function-1.c
blob9f856952b2e216a1f8cbc1dd6ca7b2fa4853778c
1 /* PR c++/64079 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunused-function" } */
5 #pragma GCC diagnostic push
6 #pragma GCC diagnostic ignored "-Wunused-function"
8 static void bar() {}
10 #pragma GCC diagnostic pop