PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / unused-4.c
blob53236008007ad9338d1dbc5b34a329966a440844
1 /* { dg-do compile } */
2 /* { dg-options "-Wunused -O3" } */
4 static const int i = 0; /* { dg-warning "defined but not used" } */
5 static void f() { } /* { dg-warning "defined but not used" } */
6 static inline void g() { }