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>();
}