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++/51473] [c++0x] ICE with auto and friend


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


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