summaryrefslogtreecommitdiffstats
path: root/testing/gmock/src/gmock-all.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gmock/src/gmock-all.cc')
-rw-r--r--testing/gmock/src/gmock-all.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/gmock/src/gmock-all.cc b/testing/gmock/src/gmock-all.cc
index a14c397..c9223fc 100644
--- a/testing/gmock/src/gmock-all.cc
+++ b/testing/gmock/src/gmock-all.cc
@@ -35,6 +35,11 @@
// purpose is to allow a user to build Google Mock by compiling this
// file alone.
+// This line ensures that gmock.h can be compiled on its own, even
+// when it's fused.
+#include <gmock/gmock.h>
+
+// The following lines pull in the real gmock *.cc files.
#include "src/gmock-cardinalities.cc"
#include "src/gmock-internal-utils.cc"
#include "src/gmock-matchers.cc"