Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-list1.C
blob: f831a112cc9a5927ef02d2130fcec3e706c6894e [
file
] [
log
] [
blame
]
// PR c++/72457
// { dg-do compile { target c++11 } }
struct
A
{
int
i
;
constexpr
A
():
i
(
0
)
{}
};
struct
B
:
A
{
};
struct
C
{
B b
;
constexpr
C
()
:
b
{}
{}
};