// Test that we try normal init if no list ctor is viable.
// { dg-do compile { target c++11 } }
#include <initializer_list>
struct B {};
struct C
{
  C(B);
};
struct A
{
  A(std::initializer_list<int>);
  A(B) { }
  A(C);
};
B b;
A a{b};
// Test that we try normal init if no list ctor is viable.
// { dg-do compile { target c++11 } }
#include <initializer_list>
struct B {};
struct C
{
  C(B);
};
struct A
{
  A(std::initializer_list<int>);
  A(B) { }
  A(C);
};
B b;
A a{b};