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

template<unsigned N>
  using Num = int;

template<typename... Types>
  using Count = Num<sizeof...(Types)>;

Count<int, char, void> i;