This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51473] [c++0x] ICE with auto and friend
- From: "dodji at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Dec 2011 23:06:55 +0000
- Subject: [Bug c++/51473] [c++0x] ICE with auto and friend
- Auto-submitted: auto-generated
- References: <bug-51473-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51473
Dodji Seketeli <dodji at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu.org
--- Comment #1 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-12-13 23:06:55 UTC ---
I can't reproduce this with trunk r182184:
$ cat -n ../../prtests/test-PR51473.cc
1 struct A
2 {
3 auto friend struct B;
4 };
$ ./cc1plus -quiet ../../prtests/test-PR51473.cc
../../prtests/test-PR51473.cc:3:22: erreur: a storage class can only be
specified for objects and functions