mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-30 13:52:05 +00:00
6a57f61497
* src/abg-comparison.cc (function_decl_diff::ensure_lookup_tables_populated): Function parameters that are diff'ed start at the first non-implicit parameter, not at the first parameter. Oops. * tests/data/test-diff-dwarf/test3-v0.o: New test input binary. * tests/data/test-diff-dwarf/test3-v0.cc: Source code for the binary above. * tests/data/test-diff-dwarf/test3-v1.o: New test input binary. * tests/data/test-diff-dwarf/test3-v1.cc: Source code for the binary above. * tests/data/test-diff-dwarf/test3-report.txt: Reference report for the diff of the new test inputs. * tests/test-diff-dwarf.cc: Use the test inputs above to run new tests. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
22 lines
149 B
C++
22 lines
149 B
C++
struct C0
|
|
{
|
|
typedef int Int;
|
|
Int m0;
|
|
char m1;
|
|
|
|
C0()
|
|
:m0(0),
|
|
m1(0)
|
|
{}
|
|
};
|
|
|
|
struct C1
|
|
{
|
|
void
|
|
foo(C0&);
|
|
};
|
|
|
|
void
|
|
C1::foo(C0&)
|
|
{}
|