c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-33a.C
bloba1c442eabeba80b01559a2bc558db87ac5080ade
1 // PR c++/51239
2 // { dg-require-effective-target c++11 }
3 // This variant should work because tail is equivalent to list.
5 template<class y, class... x>
6 class list{};
7 template<class a, class... b>
8 using tail=list<a, b...>;
9 template <class...T>
10 void f(tail<T...>);
12 int main()
14   f<int,int>({});