tree-optimization/116907 - stale BLOCK reference from DECL_VALUE_EXPR
[official-gcc.git] / gcc / testsuite / g++.dg / ext / flexary29.C
blob8fef06e6a978394a95c4d492f5c1bf68a510df0d
1 // PR c++/84578
2 // { dg-do compile { target c++11 } }
3 // { dg-options -Wno-pedantic }
5 struct A
7   constexpr A() : i(), x() {}   // { dg-error "flexible" }
8   int i;
9   char x[];
12 A a;