xref: /third_party/libabigail/tests/data/test-diff-suppr/test30-pub-lib-v0.cc (revision e01aa904)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-diff-suppr/
1// Compile this with:
2// g++ -g -Wall -shared -fPIC -o test30-pub-lib-v0.so test30-pub-lib-v0.cc
3
4#include "test30-include-dir-v0/test30-pub-lib-v0.h"
5#include "test30-priv-lib-v0.h"
6
7int
8private_function(non_defined_class*)
9{
10  non_defined_class o;
11  return o.virtual_func0() + o.virtual_func_to_be_removed();
12}
13
14class S::priv_type
15{
16public:
17  non_defined_class* member0;
18};
19
20int
21public_function(S* s)
22{return private_function(s->priv->member0);}
23

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