* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-8.C
blobc40fbbbbcce16c1022747020dcf0e675724ce2b1
1 // { dg-do compile { target c++11 } }
3 struct A {
4     template <class U> using C = U;
5 };
7 // The particularity of the below struct is to have more than 7
8 // fields.  In this case, looking up a member here should exercise
9 // cp/search.c:lookup_field_1 in such a way that it finds it in the
10 // CLASSTYPE_SORTED_FIELDS of struct A7.
11 struct A7 {
12   int f0;
13   int f1;
14   int f2;
15   int f3;
16   int f4;
17   int f5;
18   int f6;
19   int f7;
20   template <class U> using C = U;
23 template <class T>
24 struct B {
25     typename T::template C<int> n;  //#0
28 // These should trigger the lookup
29 // of template C inside class A or
30 // A7, via #0.
31 B<A> b;
32 B<A7> c;