summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/unused-4.c
blob: 99e845f45a3c1bb1d2ff434edfe9b97f447e331c (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() { }