xref: /third_party/libabigail/tests/data/test-diff-suppr/test33-v0.cc
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-diff-suppr/
1e01aa904Sopenharmony_ci/// to compile this:
2e01aa904Sopenharmony_ci/// g++ -g -fPIC -shared -o libtest33-v0.so test33-v0.cc
3e01aa904Sopenharmony_ci
4e01aa904Sopenharmony_ci#include "test33-v0.h"
5e01aa904Sopenharmony_ci
6e01aa904Sopenharmony_ciclass to_suppress
7e01aa904Sopenharmony_ci{
8e01aa904Sopenharmony_ci  int method1();
9e01aa904Sopenharmony_ci  char method2();
10e01aa904Sopenharmony_ci};
11e01aa904Sopenharmony_ci
12e01aa904Sopenharmony_ciint
13e01aa904Sopenharmony_cito_suppress::method1()
14e01aa904Sopenharmony_ci{return 0;}
15e01aa904Sopenharmony_ci
16e01aa904Sopenharmony_cichar
17e01aa904Sopenharmony_cito_suppress::method2()
18e01aa904Sopenharmony_ci{return 0;}
19e01aa904Sopenharmony_ci
20e01aa904Sopenharmony_civoid
21e01aa904Sopenharmony_cito_keep::method1()
22e01aa904Sopenharmony_ci{}
23e01aa904Sopenharmony_ci
24e01aa904Sopenharmony_civoid
25e01aa904Sopenharmony_cito_keep::method2()
26e01aa904Sopenharmony_ci{}
27e01aa904Sopenharmony_ci
28e01aa904Sopenharmony_civoid
29e01aa904Sopenharmony_cifoo(to_suppress&)
30e01aa904Sopenharmony_ci{}
31e01aa904Sopenharmony_ci
32e01aa904Sopenharmony_civoid
33e01aa904Sopenharmony_cibar(to_keep&)
34e01aa904Sopenharmony_ci{}
35

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