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