1 // PR c++/34058 2 // { dg-do compile { target c++11 } } 3 4 template <typename...T> struct A 5 { 6 typedef T X; // { dg-error "not expanded|T" } 7 }; 8 9 A<int> a; 10