mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 01:40:12 +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>
20 lines
126 B
C++
20 lines
126 B
C++
struct C0
|
|
{
|
|
typedef int Int;
|
|
Int m0;
|
|
|
|
C0()
|
|
:m0(0)
|
|
{}
|
|
};
|
|
|
|
struct C1
|
|
{
|
|
void
|
|
foo(C0&);
|
|
};
|
|
|
|
void
|
|
C1::foo(C0&)
|
|
{}
|