]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/unused-5.c
Get rid of dg-skip-if etc. default args
[thirdparty/gcc.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 /* nvptx outputs strings as array of ints. */
5 /* { dg-skip-if "" { nvptx-*-* } } */
6
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" } */