Commit 9bdc2a8f by Marek Polacek Committed by Marek Polacek

PR c++/91581 - ICE in exception-specification of defaulted ctor.

	* g++.dg/cpp0x/noexcept55.C: New test.

From-SVN: r277462
parent 0a70fb87
2019-10-25 Marek Polacek <polacek@redhat.com>
PR c++/91581 - ICE in exception-specification of defaulted ctor.
* g++.dg/cpp0x/noexcept55.C: New test.
2019-10-25 Cesar Philippidis <cesar@codesourcery.com>
Tobias Burnus <tobias@codesourcery.com>
......
// PR c++/91581 - ICE in exception-specification of defaulted ctor.
// { dg-do compile { target c++11 } }
struct A {
A() noexcept(sizeof(A)) = default;
};
A a;
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