#8113: Added a regression test.
This commit is contained in:
parent
d82df7cc55
commit
46f7275833
|
@ -31,6 +31,11 @@
|
|||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
double invalidFunctionArg_log10(double d = 0.0) {
|
||||
// cppcheck-suppress invalidFunctionArg
|
||||
return log10(d);
|
||||
}
|
||||
|
||||
void uninitvar_std_next(const std::vector<int> &v, int count)
|
||||
{
|
||||
// No warning shall be shown:
|
||||
|
|
Loading…
Reference in New Issue