1 /* { dg-do compile } */
2 /* { dg-options "-Wunused-variable" } */
4 static const int cmain
= 42; /* { dg-warning "defined but not used" } */
6 /* Don't warn for unused static consts in headers,
7 unless -Wunused-const-variable=2. */
9 static const int cheader
= 42;