Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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 "" }