aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/typename20.C
blob: d5bd51f356d48ca8baacca990679c68f101f2272 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/56543

template <typename>
struct S;

template <typename T>
struct U
{
  typedef typename S <T>::template V <> W;
  S <W> x;
};