C++: Accept test changes

This commit is contained in:
Jonas Jensen
2019-08-30 14:33:36 +02:00
parent b2c94cc6b4
commit 9f0f2f7c04
2 changed files with 126 additions and 134 deletions

View File

@@ -7,7 +7,7 @@ class B
Box1 *b1 = new Box1(e, nullptr);
Box2 *b2 = new Box2(b1);
sink(b2->box1->elem1); // flow
sink(b2->box1->elem2); // no flow [FALSE POSITIVE] (due to flow in f2 below)
sink(b2->box1->elem2); // no flow
}
void f2()
@@ -15,7 +15,7 @@ class B
Elem *e = new B::Elem();
Box1 *b1 = new B::Box1(nullptr, e);
Box2 *b2 = new Box2(b1);
sink(b2->box1->elem1); // no flow [FALSE POSITIVE] (due to flow in f1 above)
sink(b2->box1->elem1); // no flow
sink(b2->box1->elem2); // flow
}