* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / unused-5.c
blob1b8e100d249e8a57349917a14176882657dc2626
1 /* { dg-do compile } */
2 /* { dg-options "-Wunused" } */
3 /* { dg-final { scan-assembler "string_to_look_for" } } */
4 /* nvptx outputs strings as array of ints. */
5 /* { dg-skip-if "" { nvptx-*-* } { "*" } { "" } } */
7 /* 'volatile' variables get output and don't produce a warning about being
8 unused. */
9 static volatile char string[]
10 = "string_to_look_for"; /* { dg-bogus "not used" } */