diff options
-rw-r--r-- | test/gmock-port_test.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/gmock-port_test.cc b/test/gmock-port_test.cc index 9a64ec33..fe844e72 100644 --- a/test/gmock-port_test.cc +++ b/test/gmock-port_test.cc @@ -36,4 +36,8 @@ #include <gmock/internal/gmock-port.h> #include <gtest/gtest.h> -// This file intentionally contains no test at this moment. +// This file intentionally contains no tests at this moment. + +// Putting a dummy test here makes references to symbols in the gtest +// library and avoids 'undefined symbol' linker errors in gmock_main. +TEST(DummyTest, Dummy) {} |