Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-35023.C
blob: bc5902394fb469ffd6c341802bfef7f1202e7f82 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
int
foo
()
{
T t
;
// { dg-error "parameter packs|T" }
return
t
;
}
void
bar
()
{
foo
<int>
();
}