Sign in
gnu
/
gcc
/
772d532e0ba1e4b22c2b7d576e14b34ee929c093
/
.
/
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
});