1 // { dg-do compile { target c++11 } } 2 template<class... Types> struct B { 3 void f3(); 4 void f4(); 5 }; 6 f3()7 template<class... Types> void B<Types...>::f3() { } // OK f4()8 template<class... Types> void B<Types>::f4() { } // { dg-error "packs not expanded" } 9