| 1 |
// PR c++/51239 |
| 2 |
// { dg-require-effective-target c++11 } |
| 3 |
|
| 4 |
template<class... x> |
| 5 |
class list{}; |
| 6 |
template<class a, class... b> |
| 7 |
using tail=list<b...>; |
| 8 |
template <class...T> |
| 9 |
void f(tail<T...>); // { dg-error "alias" } |
| 10 |
|
| 11 |
int main() |
| 12 |
{ |
| 13 |
f<int,int>({}); |
| 14 |
} |