xref: /third_party/libabigail/tests/data/test-diff-dwarf/test14-inline-v0.cc (revision e01aa904)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-diff-dwarf/
1e01aa904Sopenharmony_ci// Compile this *without* optimization so that
2e01aa904Sopenharmony_ci// foo is not inlined:
3e01aa904Sopenharmony_ci//     g++ -g -O0 -c test14-inline-v0.cc
4e01aa904Sopenharmony_ci
5e01aa904Sopenharmony_ciint
6e01aa904Sopenharmony_cifoo()
7e01aa904Sopenharmony_ci{
8e01aa904Sopenharmony_ci  int i = 0;
9e01aa904Sopenharmony_ci  ++i;
10e01aa904Sopenharmony_ci  return i;
11e01aa904Sopenharmony_ci}
12e01aa904Sopenharmony_ci
13e01aa904Sopenharmony_ciint
14e01aa904Sopenharmony_cibar()
15e01aa904Sopenharmony_ci{return foo();}
16

Indexes created Thu Nov 07 10:32:03 CST 2024