OSDN Git Service

* gcc.dg/vect/vect-105.c: Prevent compiler from hoisting abort
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / unused-5.c
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" } */