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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto31.C
blob
26a656063c055c524d77c60efca7c86cd1565c0e
1
// PR c++/51416
2
// { dg-do compile { target c++11 } }
3
4
template<typename T, typename... U> void foo(T, U... u)
5
{
6
auto foo(u...); // { dg-error "auto" }
7
}
8
9
void bar()
10
{
11
foo(0);
12
}