1 // PR c++/34054 2 // { dg-do compile { target c++11 } } 3 foo()4 template<typename... T> T foo() { return T(); } // { dg-error "not expanded|T" } 5