re PR debug/66869 (-Wunused-function no longer warns for static declarations without definition)
PR debug/66869 * c-decl.c (c_write_global_declarations_1): Warn with warn_unused_function if static prototype without definition is not C_DECL_USED. * gcc.dg/pr66869.c: New test. From-SVN: r232899
Showing
gcc/testsuite/gcc.dg/pr66869.c
0 → 100644
Please
register
or
sign in
to comment