summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/inline-7.c
blob: c796f54f97e428b54488be26e6e52d97e08b1477 (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-einline -std=gnu89" } */

void foo0();
inline void bar0() { foo0(); }
void foobar() { bar0(); bar0(); bar0(); }

/* { dg-final { scan-tree-dump "Iterations: 1" "einline" } } */