blob: 1d6e3c2f10a3397fbccb0d1a89fc2c2e1b7b45f2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PR c++/85264
// { dg-do compile { target c++11 } }
template<typename> struct A {};
template<int>
template<typename... T>
struct A<void(T...)> {}; // { dg-error "too many template-parameter-lists" }
A<void(int)> a;
|