one might argue that this isn't a bug because it isn't in std but it looks
inconsistent, so I let you decide:

int a;   // ok
int (b); // ok

typeof(a) c; // ok
typeof(a) (d) // error

-- 
           Summary: typeof with parens rejected
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sstrasser at systemhaus-gruppe dot de
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to