https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117865
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Clang does a decent job though:
```
<source>:3:12: error: too many arguments to function call, expected 1, have 2
3 | bar(1, 1);
| ~~~ ^
1 error generated.
```
