Searched refs:const_converted (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest-port_test.cc170 ConstAndNonConstCastable(bool* converted, bool* const_converted) argument
171 : converted_(converted), const_converted_(const_converted) {}
188 bool const_converted = false; local
189 ConstAndNonConstCastable castable(&converted, &const_converted);
192 EXPECT_FALSE(const_converted);
195 const_converted = false;
196 const ConstAndNonConstCastable const_castable(&converted, &const_converted);
199 EXPECT_TRUE(const_converted);

Completed in 5 milliseconds