1 /* { dg-do compile } */ 2 /* { dg-options "-Wunused" } */ 3 /* { dg-final { scan-assembler "string_to_look_for" } } */ 4 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" } */ 9