Skip to content

Commit 8810c2b

Browse files
Update testautovariables.cpp
1 parent 1a62386 commit 8810c2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/testautovariables.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4120,6 +4120,7 @@ class TestAutoVariables : public TestFixture {
41204120
" (void)m->first;\n"
41214121
"}\n");
41224122
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());
41234124

41244125
check("struct A {\n" // #14054
41254126
" std::map<int, int> m_;\n"

0 commit comments

Comments
 (0)