summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/unittests/Support/LeakDetectorTest.cpp
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-06-10 19:59:23 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-06-10 19:59:23 +0000
commitda32c729a8e4c8fdfd1a30d4dcd2955d1366f22c (patch)
tree5df31f11bd529d5065815f704c0fb41bc9ce26a1 /contrib/llvm/unittests/Support/LeakDetectorTest.cpp
parent88ae17c7ef1b0e23829cd4e275aeb58b58df7609 (diff)
downloadFreeBSD-src-da32c729a8e4c8fdfd1a30d4dcd2955d1366f22c.zip
FreeBSD-src-da32c729a8e4c8fdfd1a30d4dcd2955d1366f22c.tar.gz
Remove Xcode cmake win32 projects unittests from LLVM and
clang.xcodeproj INPUTS win32 from clang. Requested by: jkim Approved by: ed (mentor)
Diffstat (limited to 'contrib/llvm/unittests/Support/LeakDetectorTest.cpp')
-rw-r--r--contrib/llvm/unittests/Support/LeakDetectorTest.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/contrib/llvm/unittests/Support/LeakDetectorTest.cpp b/contrib/llvm/unittests/Support/LeakDetectorTest.cpp
deleted file mode 100644
index d198c7a..0000000
--- a/contrib/llvm/unittests/Support/LeakDetectorTest.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-//===- llvm/unittest/LeakDetector/LeakDetector.cpp - LeakDetector tests ---===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "gtest/gtest.h"
-#include "llvm/Support/LeakDetector.h"
-
-using namespace llvm;
-
-namespace {
-
-#ifdef GTEST_HAS_DEATH_TEST
-#ifndef NDEBUG
-TEST(LeakDetector, Death1) {
- LeakDetector::addGarbageObject((void*) 1);
- LeakDetector::addGarbageObject((void*) 2);
-
- EXPECT_DEATH(LeakDetector::addGarbageObject((void*) 1),
- ".*Ts.count\\(o\\) == 0 && \"Object already in set!\"");
- EXPECT_DEATH(LeakDetector::addGarbageObject((void*) 2),
- "Cache != o && \"Object already in set!\"");
-}
-#endif
-#endif
-
-}
OpenPOWER on IntegriCloud