1 // PR c++/19397 2 // { dg-do compile } 3 4 template<typename> struct A 5 { 6 typedef int ::template; // { dg-error "template" } 7 }; 8