blob: 18cdd1aba01594235296fb7fc746da0a0d1ce718 (
plain)
1
2
3
|
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" }
|