1 // { dg-do compile { target c++11 } } 2 template<typename...> struct A; 3 4 template<typename...T> struct A<T*> // { dg-error "not expanded|T" } 5 { 6 friend void foo(); 7 }; 8