• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Compile this *without* optimization so that
2 // foo is not inlined:
3 //     g++ -g -O0 -c test14-inline-v0.cc
4 
5 int
foo()6 foo()
7 {
8   int i = 0;
9   ++i;
10   return i;
11 }
12 
13 int
bar()14 bar()
15 {return foo();}
16