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