We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a62386 commit 8810c2bCopy full SHA for 8810c2b
1 file changed
test/testautovariables.cpp
@@ -4120,6 +4120,7 @@ class TestAutoVariables : public TestFixture {
4120
" (void)m->first;\n"
4121
"}\n");
4122
ASSERT_EQUALS("[test.cpp:9:63] -> [test.cpp:9:49] -> [test.cpp:10:11]: (error) Using iterator that is a temporary. [danglingTemporaryLifetime]\n",
4123
+ errout_str());
4124
4125
check("struct A {\n" // #14054
4126
" std::map<int, int> m_;\n"
0 commit comments