1 // { dg-options "-std=c++0x" } 2 template<typename... T> struct A 3 { 4 template<T> struct B {}; // { dg-error "not expanded|T" } 5 }; 6 7 A<int>::B<0> b; 8 9 template<typename... T> struct B 10 { 11 template<T> B(); // { dg-error "not expanded|T" } 12 }; 13 14 B<int> c; 15