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
This commit is contained in:
parent
2d9273ca25
commit
c22e84c2d0
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
PR fortran/87689
|
||||
|
|
|
@ -350,11 +350,11 @@ namespace std
|
|||
{ return static_cast<const _Tp*>(_M_addr()); }
|
||||
};
|
||||
|
||||
class bad_weak_ptr { };
|
||||
class bad_weak_ptr_ { };
|
||||
|
||||
inline void
|
||||
__throw_bad_weak_ptr()
|
||||
{ (throw (bad_weak_ptr())); }
|
||||
{ (throw (bad_weak_ptr_())); }
|
||||
|
||||
class _Sp_counted_base
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue