PR c++/67216
* testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
Fix use of safe-bool idiom that isn't valid in C++11.
From-SVN: r226986
2015-08-18 Jonathan Wakely <jwakely@redhat.com>
+ PR c++/67216
+ * testsuite/tr1/2_general_utilities/shared_ptr/observers/bool_conv.cc:
+ Fix use of safe-bool idiom that isn't valid in C++11.
+
* include/bits/ptr_traits.h: Include <bits/move.h> for addressof.
PR libstdc++/67066
bool test __attribute__((unused)) = true;
const std::tr1::shared_ptr<A> p1;
- VERIFY( p1 == false );
+ VERIFY( bool(p1) == false );
const std::tr1::shared_ptr<A> p2(p1);
- VERIFY( p2 == false );
+ VERIFY( bool(p2) == false );
return 0;
}