aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/alias-decl-20.C
blob: 078d257187ae9622c15d9381375df8da9ee8acb8 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/53858
// { dg-do compile { target c++11 } }

template <typename T>  struct s0 { typedef  T  tdef0; };
template <typename T>  struct s1 { typedef  T  tdef1; };
template <typename T>  using us1 = typename s1<T>::tdef1;
template <typename  T, typename  TT = typename  us1<T>::tdef0>  struct s2 {};

int main () { return 0; }