blob: 98d29ece51b9a2fed7bd0c3edc8458f4c5e45e5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// PR c++/71451
// { dg-do compile { target c++11 } }
template < int > struct A;
template < typename ... T >
struct B
{
template < typename A < T::value >::type > void foo (); // { dg-error "parameter packs" }
};
int main ()
{
B < int > t;
t.foo ();
return 0;
}
|