[ASan] fix the build - erase second main as we link all test sources together
llvm-svn: 159348
This commit is contained in:
parent
3fe0d4d9aa
commit
6b03aa1bf7
|
|
@ -687,9 +687,3 @@ TEST(AddressSanitizerInterface, GetOwnershipStressTest) {
|
|||
for (size_t i = 0, n = pointers.size(); i < n; i++)
|
||||
free(pointers[i]);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
testing::GTEST_FLAG(death_test_style) = "threadsafe";
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue