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

static int a = 10; /* { dg-warning "defined but not used" } */