* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71054.C
blob518bafcbd219e1ec9a261afe94294ea836925576
1 // PR c++/71054
2 // { dg-do compile { target c++11 } }
4 #include <initializer_list>
6 template <typename D, typename T = decltype (&D::U)>
7 struct S
9   struct A
10   {
11     int a;
12     int b;
13     T p;
14   };
15   S () { std::initializer_list<A> a{ {0, 0, &D::V} }; }
17 struct R {
18   void V (int);
19   void U (int);
21 S<R> b;