Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / unused-5.c
blob5ccc3f3beae6cee91b5db52dee273302e7f63614
1 /* { dg-do compile } */
2 /* { dg-options "-Wunused" } */
3 /* { dg-final { scan-assembler "string_to_look_for" } } */
5 /* 'volatile' variables get output and don't produce a warning about being
6 unused. */
7 static volatile char string[]
8 = "string_to_look_for"; /* { dg-bogus "not used" } */