Fixed wrong unittest introduced in b36a887608

This commit is contained in:
PKEuS 2013-09-10 12:57:28 +02:00
parent 418a3d8399
commit 0439f25bbd
1 changed files with 1 additions and 1 deletions

View File

@ -5477,7 +5477,7 @@ private:
checkInitializationListUsage("class Fred {\n"
" std::string& s;\n" // Message is invalid for references, since their initialization in initializer list is required anyway and behaves different from assignment (#5004)
" Fred(const std::string& s) : s(s_) { s = \"foo\"; }\n"
" Fred(const std::string& s_) : s(s_) { s = \"foo\"; }\n"
"};");
ASSERT_EQUALS("", errout.str());