[NFC][msan] Fix warning on sanitizer-ppc64le-linux bot

This commit is contained in:
Vitaly Buka 2021-06-01 21:03:41 -07:00
parent 4124bca309
commit 6a2807bc81
1 changed files with 3 additions and 0 deletions

View File

@ -1875,18 +1875,21 @@ TEST_STRTO_FLOAT_LOC(__wcstold_l, wchar_t, L)
TEST(MemorySanitizer, modf) {
double x, y;
x = modf(2.1, &y);
EXPECT_NOT_POISONED(x);
EXPECT_NOT_POISONED(y);
}
TEST(MemorySanitizer, modff) {
float x, y;
x = modff(2.1, &y);
EXPECT_NOT_POISONED(x);
EXPECT_NOT_POISONED(y);
}
TEST(MemorySanitizer, modfl) {
long double x, y;
x = modfl(2.1, &y);
EXPECT_NOT_POISONED(x);
EXPECT_NOT_POISONED(y);
}