// compile with -O0 template <class T> class C { void f () { typedef typeof(*this) int; } };
// not a regression, fixed in 4.0 and above: // Search converges between 2004-06-24-trunk (#471) and 2004-06-26-trunk (#472). -- Summary: ICE in check_tag_decl, at cp/decl.c:3516 Product: gcc Version: 3.4.4 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: belyshev at depni dot sinp dot msu dot ru CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21026