PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wunused-2.C
blob9cdd11e84a6fc166f54c7149924b6e072c65f08e
1 // { dg-do compile }
2 // { dg-options "-Wunused -O3" }
4 static const int i = 0;
5 static void f() { }             /* { dg-warning "defined but not used" } */
6 static inline void g() { }