[Bug c++/21498] [c++0x] friend declaration can name non-class with class-key

2024-02-07 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21498 Jason Liam changed: What|Removed |Added CC||jlame646 at gmail dot com --- Comment #16 f

[Bug c++/21498] [c++0x] friend declaration can name non-class with class-key

2011-09-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21498 Jonathan Wakely changed: What|Removed |Added Known to fail|| --- Comment #15 from Jonathan Wakely

[Bug c++/21498] [c++0x] friend declaration can name non-class with class-key

2009-11-03 Thread jason at gcc dot gnu dot org
--- Comment #14 from jason at gcc dot gnu dot org 2009-11-03 18:40 --- In C++0x the testcase is still ill-formed, but changing "friend class" to "friend typename" makes it well-formed. I'm not going to give an error for this usage until the other usage is implemented. http://www.open-s