[ASan] fix the build - erase second main as we link all test sources together

llvm-svn: 159348
This commit is contained in:
Alexey Samsonov 2012-06-28 13:44:27 +00:00
parent 3fe0d4d9aa
commit 6b03aa1bf7
1 changed files with 0 additions and 6 deletions

View File

@ -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();
}