OSDN Git Service

2012-01-03 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr44964.c
1 /* { dg-do compile } */
2 /* { dg-options "-fkeep-inline-functions -O" } */
3
4 static inline __attribute__ ((const))
5 void baz (int i)
6 {
7 }
8
9 static __attribute__ ((always_inline))
10 inline __attribute__ ((flatten))
11 void bar (void)
12 {
13   baz (0);
14 }
15
16 void
17 foo (void)
18 {
19   bar ();
20 }
21