https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117865
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
C++ front-end is not any better:
```
<source>: In function 'void baz()':
<source>:8:10: error: too many arguments to function
8 | q.bar(1);
| ~~~~~^~~
```
