Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist63.C
blob: 00940479af2490c65fd64b2a7ab23e9275a989fc [
file
] [
log
] [
blame
]
// Origin PR c++/51475
// { dg-do compile { target c++11 } }
#include
<initializer_list>
struct
A
{
A
(
int
*);
};
struct
B
{
const
std
::
initializer_list
<
A
>&
x
;
};
B b
=
{{
1
}};
// { dg-error "" }