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