aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest-port_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest-port_test.cc')
-rw-r--r--test/gtest-port_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gtest-port_test.cc b/test/gtest-port_test.cc
index bf42d8b8..db63ea98 100644
--- a/test/gtest-port_test.cc
+++ b/test/gtest-port_test.cc
@@ -168,6 +168,7 @@ class To {
TEST(ImplicitCastTest, CanUseImplicitConstructor) {
bool converted = false;
To to = ::testing::internal::implicit_cast<To>(&converted);
+ (void)to;
EXPECT_TRUE(converted);
}