1 /* { dg-do compile } */ 2 /* { dg-options "-fkeep-inline-functions -O" } */ 3 4 static inline __attribute__ ((const)) baz(int i)5void baz (int i) 6 { 7 } 8 9 static __attribute__ ((always_inline)) 10 inline __attribute__ ((flatten)) bar(void)11void bar (void) 12 { 13 baz (0); 14 } 15 16 void foo(void)17foo (void) 18 { 19 bar (); 20 } 21 22