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 "" }