This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/59815] Apparently bogus error: 'Outer' is already declared in this scope


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59815

--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
Slightly more reduced test:


namespace foo
{
  template < typename > class A
  {
    template < typename > friend class Outer;
  };
  A<int> a;  // comment out -> bug goes away.

  template < typename > class Outer;
}

using foo::Outer;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]