diff --git a/cfg/std.cfg b/cfg/std.cfg
index 0acf4a3ce..278bbd871 100644
--- a/cfg/std.cfg
+++ b/cfg/std.cfg
@@ -4445,7 +4445,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
0:
-
+
diff --git a/test/testother.cpp b/test/testother.cpp
index ecf9d9837..4f5782e6d 100644
--- a/test/testother.cpp
+++ b/test/testother.cpp
@@ -3808,6 +3808,11 @@ private:
"}\n");
ASSERT_EQUALS("[test.cpp:1]: (style) Parameter 'p' can be declared as pointer to const\n",
errout.str());
+
+ check("void f(void *p, size_t nmemb, size_t size, int (*cmp)(const void *, const void *)) {\n"
+ " qsort(p, nmemb, size, cmp);\n"
+ "}\n");
+ ASSERT_EQUALS("", errout.str());
}
void switchRedundantAssignmentTest() {