Adjust scan string for PIE
[official-gcc.git] / gcc / testsuite / gcc.dg / pr34985.c
blob56437509d9fab8a749a1c88839514dc3f7efe02d
1 /* PR34985: Warning "defined but not used" despite __attribute__((__used__)) */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall -Wextra -O2" } */
4 static void xxyyzz (void);
5 static void __attribute__((__used__)) xxyyzz(void)
9 /* { dg-final { scan-assembler "xxyyzz" } } */