1 // PR c++/19253 2 3 namespace N { struct X; } 4 5 template<typename> struct A 6 { 7 A<typename N::X x> a; // { dg-error "invalid" } 8 }; 9