Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wunused-2.C

raw
1 // { dg-do compile }
2 // { dg-options "-Wunused -O3" }
3
4 static const int i = 0;
5 static void f() { } /* { dg-warning "defined but not used" } */
6 static inline void g() { }