forked from OSchip/llvm-project
[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:
parent
ffef4cf1e1
commit
e787b141e7
|
@ -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>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue