C++: Fix FP.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-03-18 15:54:53 +00:00
parent e373341f62
commit b944f3b411
2 changed files with 16 additions and 2 deletions

View File

@@ -744,8 +744,8 @@ std::vector<int> first_in_returnValue_2() {
}
void test2() {
iterate(returnValue()); // GOOD [FALSE POSITIVE] (see *)
iterate(returnValue()[0]); // GOOD [FALSE POSITIVE] (see *)
iterate(returnValue()); // GOOD
iterate(returnValue()[0]); // GOOD
for (auto x : ref_to_first_in_returnValue_1()) {}