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++/17644] unexpected symbol redefinition error


------- 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


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