Added back accidentially removed unit test

This commit is contained in:
PKEuS 2014-08-06 12:08:18 +02:00
parent d3a567bf96
commit 6545bf7938
1 changed files with 3 additions and 0 deletions

View File

@ -1632,6 +1632,9 @@ private:
testPassedByValue("void f(const std::map<std::string,int> v) {}");
ASSERT_EQUALS("[test.cpp:1]: (performance) Function parameter 'v' should be passed by reference.\n", errout.str());
testPassedByValue("void f(const std::streamoff pos) {}");
ASSERT_EQUALS("", errout.str());
// #5824
testPassedByValue("void log(const std::string& file, int line, const std::string& function, const std::string str, ...) {}");
ASSERT_EQUALS("", errout.str());