Skip to content

Commit 9f0f2f7

Browse files
committed
C++: Accept test changes
1 parent b2c94cc commit 9f0f2f7

File tree

2 files changed

+126
-134
lines changed

2 files changed

+126
-134
lines changed

cpp/ql/test/library-tests/dataflow/fields/B.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ class B
77
Box1 *b1 = new Box1(e, nullptr);
88
Box2 *b2 = new Box2(b1);
99
sink(b2->box1->elem1); // flow
10-
sink(b2->box1->elem2); // no flow [FALSE POSITIVE] (due to flow in f2 below)
10+
sink(b2->box1->elem2); // no flow
1111
}
1212

1313
void f2()
1414
{
1515
Elem *e = new B::Elem();
1616
Box1 *b1 = new B::Box1(nullptr, e);
1717
Box2 *b2 = new Box2(b1);
18-
sink(b2->box1->elem1); // no flow [FALSE POSITIVE] (due to flow in f1 above)
18+
sink(b2->box1->elem1); // no flow
1919
sink(b2->box1->elem2); // flow
2020
}
2121

0 commit comments

Comments
 (0)