xref: /third_party/libabigail/tests/data/test-diff-suppr/test24-soname-v1.cc (revision e01aa904)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-diff-suppr/
1e01aa904Sopenharmony_ci// Compile this file with:
2e01aa904Sopenharmony_ci//   g++ -g -Wall -shared -Wl,-soname=libtest24-soname -o libtest24-soname-v1.so test24-soname-v1.cc
3e01aa904Sopenharmony_ci
4e01aa904Sopenharmony_cistruct S
5e01aa904Sopenharmony_ci{
6e01aa904Sopenharmony_ci  int	m0;
7e01aa904Sopenharmony_ci  char	m1;
8e01aa904Sopenharmony_ci
9e01aa904Sopenharmony_ci  int get() const;
10e01aa904Sopenharmony_ci  void set(int);
11e01aa904Sopenharmony_ci};
12e01aa904Sopenharmony_ci
13e01aa904Sopenharmony_ciint
14e01aa904Sopenharmony_ciS::get() const
15e01aa904Sopenharmony_ci{return m0;}
16e01aa904Sopenharmony_ci
17e01aa904Sopenharmony_civoid
18e01aa904Sopenharmony_ciS::set(int m)
19e01aa904Sopenharmony_ci{m0 = m;}
20e01aa904Sopenharmony_ci
21e01aa904Sopenharmony_civoid
22e01aa904Sopenharmony_cifoo(S&)
23e01aa904Sopenharmony_ci{
24e01aa904Sopenharmony_ci}
25

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