summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/alias-decl-33.C
blob: 25781a484e0686d494f9764f929d2851d94551c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/51239
// { dg-require-effective-target c++11 }

template<class... x>
class list{};
template<class a, class... b>
using tail=list<b...>;
template <class...T>
void f(tail<T...>);		// { dg-error "alias" }

int main()
{
  f<int,int>({});
}