libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / inline-42.c
blobf5ccea8f3cf1e7d62bbaca784b35ccfa9754ad41
1 /* Test inline functions declared in inner scopes. Bug 93072. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 void
6 inline_1 (void)
10 void
11 inline_2 (void)
15 static void
16 inline_static_1 (void)
20 static void
21 inline_static_2 (void)
25 static void
26 test (void)
28 inline void inline_1 (void);
29 if (inline_1 == 0) ;
30 extern inline void inline_2 (void);
31 if (inline_2 == 0) ;
32 inline void inline_3 (void);
33 if (inline_3 == 0) ;
34 extern inline void inline_4 (void);
35 if (inline_4 == 0) ;
36 inline void inline_static_1 (void);
37 if (inline_static_1 == 0) ;
38 extern inline void inline_static_2 (void);
39 if (inline_static_2 == 0) ;
42 void
43 inline_3 (void)
47 void
48 inline_4 (void)