https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59978
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>: https://gcc.gnu.org/g:4358099049cbb8180c5354c6754b04ff0b330835 commit r11-2099-g4358099049cbb8180c5354c6754b04ff0b330835 Author: Marek Polacek <pola...@redhat.com> Date: Tue Jul 14 17:31:08 2020 -0400 c++: Add new test [PR59978] Fixed in r224162. That came without a test so adding this one. Previously, we issued a bogus "too few arguments to function" error. gcc/testsuite/ChangeLog: PR c++/59978 * g++.dg/cpp0x/vt-59978.C: New test.