* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / inh-ctor17.C
blob22eda3af5054b72254e45dfc9609fdf595871f81
1 // PR c++/56323
2 // { dg-do compile { target c++11 } }
4 struct A {
5   A(int i);
6 };
8 typedef A B;
10 struct C : B {
11   using B::B;
14 struct D : B {
15   using B::A;
18 C c(0);
19 D d(0);
21 template <class T>
22 struct E {
23   typedef T type;
26 template <class T>
27 struct F : E<T>::type {
28   using E<T>::type::type; // error: E<T>::type is a typedef
31 F<A> f(0);
33 template <class T>
34 struct AT
36   AT(T);
39 template <template <class> class T>
40 struct G : T<int>
42   using T<int>::T;
45 G<AT> g(0);