3 // Origin: David Abrahams <dave@boost-consulting.com>
4 // Wolfgang Bangerth <bangerth@ticam.utexas.edu>
6 // PR c++/12170: Deducing template template parameter from nested
9 template <typename> struct W {};
11 template< template<typename> class F, typename T>
17 static int const value = sizeof(foo(W<T>()));
24 template <typename> struct X { typedef int type; };
25 typedef typename L<X<int> >::type type;
28 template struct Y<int>;