blob: cf531c01f18efb3bc54407db1e1e83d6dcef67a0 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-Wunused-variable" } */
static int a = 0; /* { dg-warning "defined but not used" } */
static const int b = 0; /* Unlike C, this doesn't cause a warning in C++. */
static int c __attribute__ ((unused)) = 0;
static const char rcsid[] = "version-string"; /* Likewise. */