Commit 70c894ea by Paolo Carlini Committed by Paolo Carlini

re PR c++/79590 (ICE (internal compiler error) in nothrow_spec_p with generic…

re PR c++/79590 (ICE (internal compiler error) in nothrow_spec_p with generic lambda and `noexcept(noexcept(...))` expression)

2017-10-02  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/79590
	* g++.dg/cpp1y/lambda-generic-noexcept1.C: New.

From-SVN: r253369
parent 603841eb
2017-10-02 Paolo Carlini <paolo.carlini@oracle.com> 2017-10-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79590
* g++.dg/cpp1y/lambda-generic-noexcept1.C: New.
2017-10-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79005 PR c++/79005
* g++.dg/cpp1y/lambda-generic-79005.C: New. * g++.dg/cpp1y/lambda-generic-79005.C: New.
......
// PR c++/79590
// { dg-do compile { target c++14 } }
auto f = [](auto x) noexcept(noexcept(x)) { };
int main()
{
[](auto x) noexcept(noexcept(x)) { } (0);
[](auto) noexcept(noexcept(0)) { } (0);
}
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