PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / using15.C
blobb158ac09cf67126ca4441c84bb43c4b14707ae97
1 // Reduced from the testcase for c++/29433
3 template <class T>
4 struct A: T
6   void f(typename T::type);
7   using T::f;
8   void g() { f(1); }
9 };
11 template <class T>
12 struct B: T
13 { typedef int type; };
15 struct C
17   typedef double type;
18   void f();
21 int main()
23   A<B<A<C> > > a;
24   a.g();