blob: ba7705aaa77263c6fe3a6083a1b68a986b004bd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-options "-O3" } */
static void function_declaration_before(void) __attribute__((__used__));
static void function_declaration_before(void) {}
static void function_declaration_after(void) {}
static void function_declaration_after(void) __attribute__((__used__));
/* { dg-final { scan-assembler "function_declaration_before" } } */
/* { dg-final { scan-assembler "function_declaration_after" } } */
|