diff --git a/cfg/std.cfg b/cfg/std.cfg index c89e82de1..667c285ca 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -417,7 +417,7 @@ - + asinh(arg1) false @@ -428,7 +428,7 @@ - + asinh(arg1) false @@ -439,7 +439,7 @@ - + asinh(arg1) false diff --git a/test/cfg/std.cpp b/test/cfg/std.cpp index 46a2d1bcb..48f1472f7 100644 --- a/test/cfg/std.cpp +++ b/test/cfg/std.cpp @@ -43,6 +43,13 @@ int zerodiv_sqrt() return 42 / i; } +int zerodiv_asinh() +{ + int i = std::asinh(0); + // cppcheck-suppress zerodiv + return 42 / i; +} + int zerodiv_sin() { int i = std::sin(0)+std::sin(M_PI)+std::sin(2*M_PI);