1 // Test that conversion to std::initializer_list takes priority over other
2 // user-defined conversions.
5 // { dg-options "-std=c++0x" }
7 #include <initializer_list>
11 string (const char *) {}
12 template <class Iter> string (Iter, Iter);
15 template <class T, class U>
21 template<class T, class U>
24 void insert (pair<T,U>);
25 void insert (std::initializer_list<pair<T,U> >) {}
31 m.insert({ {"this","that"}, {"me","you"} });