summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Wunused-2.C
blob: 593bf4872d418eb7651771512179885743294ded (plain)
1
2
3
4
5
6
// { dg-do compile }
// { dg-options "-Wunused -O3" }

static const int i = 0;
static void f() { }		/* { dg-warning "defined but not used" "" } */
static inline void g() { }