Hi, G++ (gcc version 4.3.0 20080104 (experimental) (GCC)) accepts the following code that Comeau rejects:
template <typename T> struct Foo { void bar () { typename Foo<T>::Foo (); } }; -- Summary: G++ accepts wrong code Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: v dot haisman at sh dot cvut dot cz GCC build triplet: i386-portbld-freebsd6.2 GCC host triplet: i386-portbld-freebsd6.2 GCC target triplet: i386-portbld-freebsd6.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810