blob: 7e73df06e18e948a20fa85ba15d95ec6e8dc2dbd [file] [log] [blame]
// { dg-do compile { target c++11 } }
#include <initializer_list>
struct A
{
A& operator=(int i);
A& operator=(std::initializer_list<int> l) { return *this; }
};
int main()
{
A a;
a = { };
}