This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69410] friend declarations in local classes
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 21 Aug 2016 22:09:42 +0000
- Subject: [Bug c++/69410] friend declarations in local classes
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-69410-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69410
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |7.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed:
t99.cc: In function ‘void f()’:
t99.cc:4:25: error: friend declaration ‘void a()’ in local class without prior
declaration
friend void ::a();
^