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 #include -// 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) {}