Commit 34c71b8b by Jonathan Wakely Committed by Jonathan Wakely

Minor tweak to libstdc++ testsuite helper type

	* testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept.

From-SVN: r254644
parent 4f58c0d1
2017-11-10 Jonathan Wakely <jwakely@redhat.com> 2017-11-10 Jonathan Wakely <jwakely@redhat.com>
* testsuite/util/testsuite_tr1.h (ThrowMoveConsClass): Use noexcept.
PR libstdc++/82917 PR libstdc++/82917
* include/std/fstream (basic_ifstream::open, basic_ofstream::open) * include/std/fstream (basic_ifstream::open, basic_ofstream::open)
(basic_fstream::open): Fix missing return. (basic_fstream::open): Fix missing return.
......
...@@ -162,7 +162,7 @@ namespace __gnu_test ...@@ -162,7 +162,7 @@ namespace __gnu_test
#if __cplusplus >= 201103L #if __cplusplus >= 201103L
struct ThrowMoveConsClass struct ThrowMoveConsClass
{ {
ThrowMoveConsClass(ThrowMoveConsClass&&) THROW(int); ThrowMoveConsClass(ThrowMoveConsClass&&) noexcept(false);
}; };
struct NoexceptExplicitClass struct NoexceptExplicitClass
......
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