blob: cb86c3bc8d26a82ef35d63ec28b7b2f81d055241 (
plain)
1
2
3
4
5
6
7
|
/* { dg-do compile } */
/* { dg-options "-Wunused-variable" } */
static int a = 0; /* { dg-warning "defined but not used" } */
static const int b = 0; /* { dg-warning "defined but not used" } */
static int c __attribute__ ((unused)) = 0;
static const char rcsid[] __attribute__ ((unused)) = "version-string";
|