repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31445.C
blob
89aae9a8578736153bfdbfeeb037feeb4aad3b03
1
// { dg-do compile { target c++11 } }
2
template <typename... T> struct A
3
{
4
void foo(T...);
5
A(T... t) { foo(t); } // { dg-error "parameter packs|t" }
6
};
7
8
A<int> a(0);