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" } } */
14 /* { dg-final { scan-assembler-not "\.text.*,\"axR\"" { target R_flag_in_section } } } */