GCC rejects the former, but not the later.

void f2(y, __attribute__(()) x);
void f3(__attribute__(()) x, y);


-- 
           Summary: gcc sometimes accepts attribute in identifier list
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sabre at nondot dot org


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

Reply via email to