[Bug c++/15025] New: [3.4?/3.5 Regression] accepts invalid code

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 20 12:24:00 GMT 2004


I came up with this reducing PR 15024:
template<typename> struct CartesianURM;
template<typename a> struct B
{
  typedef CartesianURM<a> F;
};
template <typename c> struct G : public B<c>::F
{
};
struct CartesianURM {};
G<int> f();

-- 
           Summary: [3.4?/3.5 Regression]  accepts invalid code
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list