Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nsdmi12.C
blob: 11618a45a1781d6bad1f1e4443856fed459ca719 [
file
] [
log
] [
blame
]
// PR c++/66001
// { dg-do compile { target c++11 } }
#include
<initializer_list>
struct
dt
{
dt
()
{}
~
dt
()
{}
};
struct
x
{
std
::
initializer_list
<
dt
>
f
=
{
{}
};
}
cx
;
struct
x2
{
struct
dt
{
~
dt
()
{}
}
const
&
m
=
{};
}
cx2
;