* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist67.C
blob491d4cf0636952efb3377ed085d97e744d46a096
1 // PR c++/50478
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 namespace std
8   template<typename _Key>
9     struct set
10     {
11       void insert(const _Key&);
12       void insert(initializer_list<_Key>);
13     };
15   struct string
16   {
17     string(const string&, __SIZE_TYPE__, __SIZE_TYPE__ = -1);
18     string(const char*);
19     string(initializer_list<char>);
20   };
23 int main()
25   std::set<std::string> s;
26   s.insert( { "abc", "def", "hij"} );