[Bug c++/17644] unexpected symbol redefinition error

boris at kolpackov dot net gcc-bugzilla@gcc.gnu.org
Fri Sep 24 18:52:00 GMT 2004


------- Additional Comments From boris at kolpackov dot net  2004-09-24 18:52 -------
And what about this:

class foo
{
};

struct bar
{
  ::foo
  foo ();
};

illegal too?

And this

struct bar
{
  struct foo
  {
  };

  foo
  foo ();
};

should definitely be illegal, right?



-- 


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



More information about the Gcc-bugs mailing list