diff --git a/src/abg-comparison.cc b/src/abg-comparison.cc index ce6ab1aa..b3ab4edf 100644 --- a/src/abg-comparison.cc +++ b/src/abg-comparison.cc @@ -1091,7 +1091,8 @@ represent(class_decl::method_decl_sptr mem_fn, ostream& out) out << ", virtual at voffset " << get_member_function_vtable_offset(mem_fn) << "/" - << meth->get_type()->get_class_type()->get_virtual_mem_fns().size(); + << meth->get_type()->get_class_type()->get_virtual_mem_fns().size() + << "\n"; } /// Stream a string representation for a data member. diff --git a/tests/data/test-bidiff/test-struct1-report.txt b/tests/data/test-bidiff/test-struct1-report.txt index c252be87..271edf75 100644 --- a/tests/data/test-bidiff/test-struct1-report.txt +++ b/tests/data/test-bidiff/test-struct1-report.txt @@ -17,6 +17,7 @@ 1 member function insertion: 'method int s0::foo(int, char) const', virtual at voffset 2/2 + 's0*' changed: pointed to type 'class s0' changed, as reported earlier 'class s0' changed: