gcc rejects following valid code.

class bar
{
  typedef int func_type() const;
};


-- 
           Summary: typdef declaration of cv-qualified function in class
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: s__nakayama at infoseek dot jp


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

Reply via email to