diff --git a/test/cfg/std.c b/test/cfg/std.c index c0f639446..71eaaa052 100644 --- a/test/cfg/std.c +++ b/test/cfg/std.c @@ -12,6 +12,7 @@ #include #include // frexp #include +#include void bufferAccessOutOfBounds(void) { @@ -588,7 +589,7 @@ void uninitvar_tan(void) void uninitvar_ctan(void) { float complex fd; - // cppcheck-suppress uninitvars + // cppcheck-suppress uninitvar (void)ctanf(fd); double complex dc; @@ -615,6 +616,28 @@ void uninitvar_tanh(void) (void)tanhl(ld); } +void uninitvar_ctanh(void) +{ + float complex fd; + // cppcheck-suppress uninitvar + (void)ctanhf(fd); + + double complex dc; + // cppcheck-suppress uninitvar + (void)ctanh(dc); + + long double complex ldc; + // cppcheck-suppress uninitvar + (void)ctanhl(ldc); +} + +void uninitvar_feclearexcept(void) +{ + int i; + // cppcheck-suppress uninitvar + feclearexcept(i); +} + void ignoreretrn(void) { char szNumbers[] = "2001 60c0c0 -1101110100110100100000 0x6fffff";