Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-list2.C
blob: 780a64dbbc429ef192d944723e327505537829d7 [
file
] [
log
] [
blame
]
// PR c++/82461
// { dg-do compile { target c++11 } }
class
A
{
private
:
public
:
constexpr
A
()
{}
~
A
()
{}
};
class
B
{
private
:
A a
;
public
:
constexpr
B
()
:
a
{}
{}
// works
// constexpr B() : a() {}
~
B
()
{}
};