PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / typename13.C
blob527b0d15316561a09865f384107d5e11ab71ef0b
1 // { dg-do compile }
3 // Copyright (C) 2007 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 21 Jul 2007 <nathan@codesourcery.com>
6 template <typename T> struct A
8   struct B;
9   typedef typename B::type type;
12 template <typename T> struct A<T>::B
14   typedef typename A<T>::type type;
16   type Foo ();
19 template <typename T>
20 typename A<T>::B::type
21 A<T>::B::Foo () 
23   return 0;