☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
flexary29.C
☽
☼
gcc/testsuite/g++.dg/ext/flexary29.C
code
plain
raw
1
// PR c++/84578
2
// { dg-do compile { target c++11 } }
3
// { dg-options -Wno-pedantic }
4
5
struct A
6
{
7
constexpr A() : i(), x() {} // { dg-error "flexible" }
8
int i;
9
char x[];
10
};
11
12
A a;