File: test30-priv-lib-v0.h

package info (click to toggle)
libabigail 2.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,021,752 kB
  • sloc: xml: 572,663; cpp: 110,945; sh: 11,868; ansic: 4,329; makefile: 3,486; python: 1,684; ada: 62
file content (18 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// This is a class that, when #included in a .cc file will generate a
// dwarf representation that is declaration-only class because the all
// of the methods of the class are inline virtual methods but one.
// And the one virtual method that is not inline is not defined.  So
// the .cc file that is going to define that method is going to see
// the class as being defined, and that file will also have the
// definition of the vtable.
class non_defined_class
{
 public:
  virtual int virtual_func_to_be_removed(){return 0;}
  non_defined_class(){};
  virtual ~non_defined_class(){}
  virtual int virtual_func0(){return 0;}
  virtual int virtual_func1();
};

int private_function(non_defined_class *);