blob: 8fef06e6a978394a95c4d492f5c1bf68a510df0d [file] [log] [blame]
// PR c++/84578
// { dg-do compile { target c++11 } }
// { dg-options -Wno-pedantic }
struct A
{
constexpr A() : i(), x() {} // { dg-error "flexible" }
int i;
char x[];
};
A a;