* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / enum_base3.C
blob5f7e83e14190e1014e54fec27e9558c84319c118
1 // PR c++/70627
2 // { dg-do compile { target c++11 } }
4 struct D;
5 struct A
7   D *operator->();
8 };
9 struct B
11   template <typename... T> void foo (T &&...) {}
13 typedef unsigned char G;
14 enum class H : G;
15 struct C
18 struct D : C
20   B foo () const { B a; a.foo (d); return B(); }
21   H d;
23 struct F : C
25   void foo ();
26   A f;
28 enum class H : unsigned char;
29 void F::foo () { B b = f->foo (); }