c++: Add new test [PR59978]
authorMarek Polacek <polacek@redhat.com>
Tue, 14 Jul 2020 21:31:08 +0000 (17:31 -0400)
committerMarek Polacek <polacek@redhat.com>
Tue, 14 Jul 2020 21:32:03 +0000 (17:32 -0400)
commit4358099049cbb8180c5354c6754b04ff0b330835
tree4ba425b586c8040e66949b154ba9affb1722a791
parentb2984e5ada65f417e8704d2e1e81ccd0272b5eb3
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.
gcc/testsuite/g++.dg/cpp0x/vt-59978.C [new file with mode: 0644]