https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125643

            Bug ID: 125643
           Summary: GCC accepts an empty declaration after a function
                    argument list
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rl.alt.accnt at gmail dot com
  Target Milestone: ---

GCC accepts this program (https://godbolt.org/z/nqWv861ac):
```c
void f() int; {

}
```
Presumably, this is parsed as a K&R parameter definition. I’m not sure if this
is intentional, so I thought I’d report it.

Reply via email to