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

ppluzhnikov at google dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 14 22:22:00 GMT 2014


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;



More information about the Gcc-bugs mailing list