☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array28.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-array28.C
code
plain
raw
1
// PR c++/105191
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
const char* message = "";
6
};
7
8
enum class B { };
9
10
struct C {
11
A a;
12
B b;
13
};
14
15
struct D {
16
C cs[1];
17
};
18
19
constexpr D ds[4] = {
20
D{},
21
};