mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-14 04:27:11 +00:00
* src/abg-comparison.cc (suppression_categorization_visitor::visit_end): If a diff node carries local changes, then, even if all of its children node have been suppressed, this diff node shall not be categorized as suppressed by way of propagation. (redundancy_marking_visitor::visit_end): If a diff node carries local changes, then, even if all of its children nodes are redundant, this diff node shall not be categorized as being redundant by way of propagation. * tests/data/test-diff-suppr/libtest4-local-suppr-v{0,1}.so: New test inputs. * tests/data/test-diff-suppr/test4-local-suppr-0.suppr: Likewise. * tests/data/test-diff-suppr/test4-local-suppr-report-{0,1}.txt: Likewise. * tests/data/test-diff-suppr/test4-local-suppr-v{0,1}.{c,h}: Source code of the new tests inputs. * tests/Makefile.am: Add the new test material to the source distribution. * tests/test-diff-suppr.cc (in_out_spec): Run this test harness over the new test input above. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
17 lines
331 B
C
17 lines
331 B
C
struct private_opaque_data;
|
|
struct public_type
|
|
{
|
|
unsigned oops; // <--- we accidentally added a member here. This
|
|
// breaks ABI.
|
|
struct private_data* priv_;
|
|
};
|
|
|
|
struct a_not_private_type
|
|
{
|
|
int i;
|
|
char j; // <-- This added member should be flagged too.
|
|
};
|
|
|
|
void
|
|
foo(struct public_type* p, struct a_not_private_type* t);
|