Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
flexary29.C
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
;