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++/28300] In-class partial specialization of class accepted



------- Comment #2 from reichelt at gcc dot gnu dot org  2007-04-29 16:31 -------
Expanding the testcase a little one can also trigger ICEs, e.g.:

==========================================
template<typename> struct A
{
  template<typename T> struct A<T*>
  {
    template<typename> void foo() {}
  };
};
==========================================

bug.cc:5: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code


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


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