1 /* { dg-do compile } */
2 /* { dg-options "-Wall -O2" } */
4 static int xyzzy
__attribute__((__used__
)) = 1;
8 int x
__attribute__((__used__
)); /* { dg-warning "attribute ignored|unused variable" } */
11 /* { dg-final { scan-assembler "xyzzy" } } */