tests: minor updates of the tests

This commit is contained in:
Daniel Marjamäki 2008-08-09 08:34:50 +00:00
parent ff0f8a7434
commit d7bfe46fb3
1 changed files with 8 additions and 6 deletions

View File

@ -941,10 +941,12 @@ static void fpar_byvalue()
"void f(const std::string str);",
"[test.cpp:1] str is passed by value, it could be passed by reference/pointer instead\n" );
/* TODO
check( CheckConstantFunctionParameter,
__LINE__,
"void f(const int a, const std::vector v, const int b);",
"void f(const int a, const std::vector<int> v, const int b);",
"[test.cpp:1] v is passed by value, it could be passed by reference/pointer instead\n" );
*/
check( CheckConstantFunctionParameter,
__LINE__,