Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
desig10.C
blob: 7fb68683853a3030b3b8e126fdd92e9eea1378cd [
file
] [
log
] [
blame
]
// PR c++/71446
// { dg-do compile { target c++11 } }
// { dg-options "" }
#include
<initializer_list>
struct
S
{
int
value
;
};
int
foo
(
S
);
char
*
foo
(
std
::
initializer_list
<int>
);
int
x
=
foo
({.
value
=
0
});