blob: 56b505142e275f96f9aff3257e62ce626301e6f2 [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 "required" }