c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept55.C
blobf46320db2117f3d82483fbc224138570e73c3840
1 // PR c++/91581 - ICE in exception-specification of defaulted ctor.
2 // { dg-do compile { target c++11 } }
4 struct A {
5     A() noexcept(sizeof(A)) = default;
6 };
8 A a;