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++/46630] Front end issue


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-24 12:03:36 UTC ---
EDG agrees with us:

t.C(15): error: member "C::N" is not a type name
      void f(void) { (void) sizeof(typename T::N); }
                                            ^
          detected during instantiation of "void S<T>::f() [with T=C]" at line
18

compilation aborted for t.C (code 2)


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