diff --git a/test/cfg/std.cpp b/test/cfg/std.cpp index 422dd5cac..46a2d1bcb 100644 --- a/test/cfg/std.cpp +++ b/test/cfg/std.cpp @@ -45,7 +45,7 @@ int zerodiv_sqrt() int zerodiv_sin() { - int i = std::sin(0); + int i = std::sin(0)+std::sin(M_PI)+std::sin(2*M_PI); // cppcheck-suppress zerodiv return 42 / i; }