mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 09:49:59 +00:00
fcd2ef9d4e
* 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>
46 lines
345 B
C++
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*)
|
|
{}
|