☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
Wunused-var-18.c
☽
☼
gcc/testsuite/c-c++-common/Wunused-var-18.c
code
plain
raw
1
/* PR c/108079 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wunused-variable" } */
4
5
int
6
main ()
7
{
8
static int x; /* { dg-warning "unused variable 'x'" } */
9
/* { dg-bogus "'x' defined but not used" "" { target *-*-* } .-1 } */
10
}