// { dg-do compile { target c++11 } } template int foo() { T t; // { dg-error "parameter packs|T" } return t; } void bar() { foo(); }