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

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

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