blob: e599304b6d86dfcd678c7894d5f8c6c5b7bf037b [file] [log] [blame]
// PR c++/14283
struct A
{};
namespace N
{}
template <typename> struct C
{
typedef A::template INVALID<void> X0; // { dg-error "23:'INVALID' in 'struct A' does not name a template type" }
typedef N::template INVALID<void> X1; // { dg-error "23:'INVALID' in namespace 'N' does not name a template type" }
};