Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist125.C
blob: 49dee1c0ccd25718f57f97d85dc24ea625c1eae9 [
file
] [
log
] [
blame
]
// PR c++/102050
// { dg-do compile { target c++11 } }
#include
<initializer_list>
struct
A
{
A
(
std
::
initializer_list
<int>
=
{});
};
A x
{
0
};
A y
{
1
,
2
,
3
};
A z
;