repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic170.C
blob
98d29ece51b9a2fed7bd0c3edc8458f4c5e45e5d
1
// PR c++/71451
2
// { dg-do compile { target c++11 } }
3
4
template < int > struct A;
5
6
template < typename ... T >
7
struct B
8
{
9
template < typename A < T::value >::type > void foo (); // { dg-error "parameter packs" }
10
};
11
12
int main ()
13
{
14
B < int > t;
15
t.foo ();
16
return 0;
17
}