diff --git a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp index d5b17bff19a..0a696a47860 100644 --- a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp +++ b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp @@ -322,6 +322,6 @@ TEST_F(MCJITCAPITest, reserve_allocation_space) { EXPECT_LE(MM->UsedDataSizeRO, MM->ReservedDataSizeRO); EXPECT_LE(MM->UsedDataSizeRW, MM->ReservedDataSizeRW); EXPECT_TRUE(MM->UsedCodeSize > 0); - EXPECT_TRUE(MM->UsedDataSizeRO > 0); + EXPECT_TRUE(MM->UsedDataSizeRO >= 0); EXPECT_TRUE(MM->UsedDataSizeRW > 0); }