windows.cfg: Added test cases for toupper/tolower functions.

This commit is contained in:
orbitcowboy 2018-05-24 10:05:56 +02:00
parent 6ce3571bdd
commit 3311307227
1 changed files with 32 additions and 0 deletions

View File

@ -674,3 +674,35 @@ void allocDealloc_GetModuleHandleEx()
HMODULE hModule2;
GetModuleHandleEx(0, NULL, &hModule2);
}
void uninitvar_tolower(_locale_t l)
{
int c;
// cppcheck-suppress uninitvar
(void)_tolower(c);
// cppcheck-suppress uninitvar
(void)_tolower_l(c, l);
}
void uninitvar_toupper(_locale_t l)
{
int c;
// cppcheck-suppress uninitvar
(void)_toupper(c);
// cppcheck-suppress uninitvar
(void)_toupper_l(c, l);
}
void uninitvar_towlower(_locale_t l)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)_towlower_l(i, l);
}
void uninitvar_towupper(_locale_t l)
{
wint_t i;
// cppcheck-suppress uninitvar
(void)_towupper_l(i, l);
}