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" "" { xfail *-*-* } } */ 6 static inline void g() { } 7