blob: 18cdd1aba01594235296fb7fc746da0a0d1ce718 [file] [log] [blame]
struct B { template <typename U> struct C; };
template <typename T> struct A { typedef typename T::C V; }; // { dg-error "not a type" }
void f () { A<B>::V p; } // { dg-message "instantiated" }