| 1 |
// PR c++/45698 |
| 2 |
// { dg-do compile { target c++11 } } |
| 3 |
|
| 4 |
template <class... Ts> struct tuple { }; |
| 5 |
|
| 6 |
template<class... Ts> |
| 7 |
struct A { |
| 8 |
template<typename T> struct N { }; |
| 9 |
tuple<N<Ts>...> tup; |
| 10 |
}; |
| 11 |
|
| 12 |
int main() |
| 13 |
{ |
| 14 |
A<int, double> a; |
| 15 |
} |