summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/unused-4.c
blob: 53236008007ad9338d1dbc5b34a329966a440844 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-Wunused -O3" } */

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