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++/1016] [DR 166] friend class declarations not observing namespace rules.


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2004-11-26 16:39 -------
Right.  The code example in comment #1 should compile and
comment #8 should not.  Class foo::b, which is still
not declared yet, is the friend of class foo::a.  So this
bug is both accepts-invalid and rejects-valid.

-- 


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


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