Commit 88e293fa by Paolo Carlini Committed by Paolo Carlini

noexcept15.C: Adjust for Rev 186726 library changes.

2012-04-23  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/cpp0x/noexcept15.C: Adjust for Rev 186726 library changes.

From-SVN: r186730
parent eefdb8e6
2012-04-23 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp0x/noexcept15.C: Adjust for Rev 186726 library changes.
2012-04-23 Andrew Pinski <apinski@cavium.com>
* gcc.dg/tree-ssa/forwprop-17.c: New testcase.
......
......@@ -11,7 +11,7 @@ template<class Tp>
constexpr single(const Tp& e)
: elem(e) { } // { dg-error "invalid field" }
single(single&& s) // { dg-error "not a member" }
single(single&& s)
noexcept(std::is_nothrow_move_constructible<Tp>::value)
: elem(s.elem) { } // { dg-error "invalid field|no member" }
};
......
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