* g++.dg/cpp0x/noexcept55.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277462
138bc75d-0d04-0410-961f-
82ee72b054a4
+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>
--- /dev/null
+// 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;