mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 01:40:12 +00:00
96edc0b08c
* src/abg-ir.cc (compare_function_types): Compare return types, unless this is a method and the return type is the same type as the containing class type. * tests/data/test-diff-dwarf/test5-report.txt: Reference report for the comparison of the two input binaries below. * tests/data/test-diff-dwarf/test5-v0.cc: Source code for the input binary below. * tests/data/test-diff-dwarf/test5-v0.o: Test input binary. * tests/data/test-diff-dwarf/test5-v1.cc: Source code for the input binary below. * tests/data/test-diff-dwarf/test5-v1.o: Test input binary. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
14 lines
81 B
C++
14 lines
81 B
C++
class C0
|
|
{
|
|
int m0;
|
|
|
|
public:
|
|
C0()
|
|
:m0(0)
|
|
{}
|
|
};
|
|
|
|
C0
|
|
foo()
|
|
{return C0();}
|