Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array28.C
blob: d7706b9f0b4c1cfb63fcaf71bfdb30b5fce9da61 [
file
] [
log
] [
blame
]
// PR c++/105191
// { dg-do compile { target c++11 } }
struct
A
{
const
char
*
message
=
""
;
};
enum
class
B
{
};
struct
C
{
A a
;
B b
;
};
struct
D
{
C cs
[
1
];
};
constexpr
D ds
[
4
]
=
{
D
{},
};