libabigail/tests/data/test-diff-dwarf/test0-v0.cc
Dodji Seketeli fcd2ef9d4e Initial regression test for dwarf diffing
* tests/test-diff-dwarf.cc: New dwarf diffing regression test
	harness.
	* tests/data/test-diff-dwarf/test0-report.txt: New test input.
	* tests/data/test-diff-dwarf/test0-v0.cc: Likewise.
	* tests/data/test-diff-dwarf/test0-v0.o: Likewise.
	* tests/data/test-diff-dwarf/test0-v1.cc: Likewise.
	* tests/data/test-diff-dwarf/test0-v1.o: Likewise.
	* tests/Makefile.am: Add the new test inputs from
	tests/test-diff-dwarf.cc and tests/data/test-diff-dwarf/* to
	the build system.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-03-27 13:01:17 +01:00

46 lines
345 B
C++

class B0S0
{
int m0;
char m1;
public:
void
member0() const
{}
static void
static_member0();
};
void
B0S0::static_member0()
{
}
class B0S1
{
int m0;
public:
B0S1()
{}
};
class S0 : public B0S0
{
int m0;
void member0() const
{}
};
class S1 : public B0S1
{
int m0;
void member0()
{}
};
void
foo(S0&, S1*)
{}