Commit c22e84c2 by Rainer Orth Committed by Rainer Orth

Fix g++.dg/torture/pr89303.C with Solaris ld

	* g++.dg/torture/pr89303.C (bad_weak_ptr): Rename to
	bad_weak_ptr_.

From-SVN: r268995
parent 2d9273ca
2019-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/torture/pr89303.C (bad_weak_ptr): Rename to
bad_weak_ptr_.
2019-02-18 Thomas Koenig <tkoenig@gcc.gnu.org> 2019-02-18 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/87689 PR fortran/87689
......
...@@ -350,11 +350,11 @@ namespace std ...@@ -350,11 +350,11 @@ namespace std
{ return static_cast<const _Tp*>(_M_addr()); } { return static_cast<const _Tp*>(_M_addr()); }
}; };
class bad_weak_ptr { }; class bad_weak_ptr_ { };
inline void inline void
__throw_bad_weak_ptr() __throw_bad_weak_ptr()
{ (throw (bad_weak_ptr())); } { (throw (bad_weak_ptr_())); }
class _Sp_counted_base class _Sp_counted_base
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment