Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
{}
{}
};