[Msan] Fix the DynRet unit test to build on FreeBSD

Differential Revision: http://reviews.llvm.org/D7086

llvm-svn: 226799
This commit is contained in:
Viktor Kutuzov 2015-01-22 08:54:03 +00:00
parent ffef4cf1e1
commit e787b141e7
1 changed files with 1 additions and 2 deletions

View File

@ -511,10 +511,9 @@ static char *DynRetTestStr;
TEST(MemorySanitizer, DynRet) {
ReturnPoisoned<S8>();
EXPECT_NOT_POISONED(clearenv());
EXPECT_NOT_POISONED(atoi("0"));
}
TEST(MemorySanitizer, DynRet1) {
ReturnPoisoned<S8>();
}