mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-used.c
blobba7705aaa77263c6fe3a6083a1b68a986b004bd7
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
4 static void function_declaration_before(void) __attribute__((__used__));
6 static void function_declaration_before(void) {}
8 static void function_declaration_after(void) {}
10 static void function_declaration_after(void) __attribute__((__used__));
12 /* { dg-final { scan-assembler "function_declaration_before" } } */
13 /* { dg-final { scan-assembler "function_declaration_after" } } */