OSDN Git Service

Formatting fixes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / attr-used.c
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3
4 static void function_declaration_before(void) __attribute__((__used__));
5
6 static void function_declaration_before(void) {}
7
8 static void function_declaration_after(void) {}
9
10 static void function_declaration_after(void) __attribute__((__used__));
11
12 /* { dg-final { scan-assembler "function_declaration_before" } } */
13 /* { dg-final { scan-assembler "function_declaration_after" } } */