// PR c++/100659
template <typename> struct A
{
  A::E::V;		       // { dg-warning "access decl" }
  enum { V };		       // { dg-error "conflicts with a previous decl" }
};
// PR c++/100659
template <typename> struct A
{
  A::E::V;		       // { dg-warning "access decl" }
  enum { V };		       // { dg-error "conflicts with a previous decl" }
};