aboutsummaryrefslogtreecommitdiffstats
path: root/gtest/src/gtest-all.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtest/src/gtest-all.cc')
-rw-r--r--gtest/src/gtest-all.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtest/src/gtest-all.cc b/gtest/src/gtest-all.cc
index a67ea0f..fe34765 100644
--- a/gtest/src/gtest-all.cc
+++ b/gtest/src/gtest-all.cc
@@ -33,6 +33,12 @@
//
// Sometimes it's desirable to build Google Test by compiling a single file.
// This file serves this purpose.
+
+// This line ensures that gtest.h can be compiled on its own, even
+// when it's fused.
+#include <gtest/gtest.h>
+
+// The following lines pull in the real gtest *.cc files.
#include "src/gtest.cc"
#include "src/gtest-death-test.cc"
#include "src/gtest-filepath.cc"