Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto31.C
blob: 26a656063c055c524d77c60efca7c86cd1565c0e [
file
] [
log
] [
blame
]
// PR c++/51416
// { dg-do compile { target c++11 } }
template
<
typename
T
,
typename
...
U
>
void
foo
(
T
,
U
...
u
)
{
auto
foo
(
u
...);
// { dg-error "auto" }
}
void
bar
()
{
foo
(
0
);
}