1 // Test that conversion to std::initializer_list takes priority over other
2 // user-defined conversions.
4 // { dg-do link { target c++11 } }
6 #include <initializer_list>
10 string (const char *) {}
11 template <class Iter> string (Iter, Iter);
14 template <class T, class U>
20 template<class T, class U>
23 void insert (pair<T,U>);
24 void insert (std::initializer_list<pair<T,U> >) {}
30 m.insert({ {"this","that"}, {"me","you"} });