http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61077
Bug ID: 61077 Summary: _Atomic in the return type or argument types of main not diagnosed Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org We should diagnose this one: /* { dg-do compile } */ /* { dg-options "-std=c11 -Wall" } */ _Atomic int main (_Atomic int argc, char **_Atomic argv) { return 0; }