C++: Fix flow from this by ref.

This commit is contained in:
Jonas Jensen
2019-09-09 09:54:35 +02:00
parent 08b63d4342
commit 10b69358ae
3 changed files with 21 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ void test_setIndirectly() {
void test_setThroughNonMember() {
S s;
s.setThroughNonMember(user_input());
sink(s.getThroughNonMember()); // flow [NOT DETECTED]
sink(s.getThroughNonMember()); // flow
}
void test_nonMemberSetA() {