aboutsummaryrefslogtreecommitdiff
path: root/lib/lsan/tests/lsan_dummy_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsan/tests/lsan_dummy_unittest.cc')
-rw-r--r--lib/lsan/tests/lsan_dummy_unittest.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/lsan/tests/lsan_dummy_unittest.cc b/lib/lsan/tests/lsan_dummy_unittest.cc
index e69de29bb2d1..5468400775a0 100644
--- a/lib/lsan/tests/lsan_dummy_unittest.cc
+++ b/lib/lsan/tests/lsan_dummy_unittest.cc
@@ -0,0 +1,22 @@
+//===-- lsan_dummy_unittest.cc --------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file is a part of LeakSanitizer runtime.
+//
+//===----------------------------------------------------------------------===//
+#include "gtest/gtest.h"
+
+TEST(LeakSanitizer, EmptyTest) {
+ // Empty test to suppress LIT warnings about lack of tests.
+}
+
+int main(int argc, char **argv) {
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}