testsuite: Fix up cpp23/auto-fncast11.C testcase [PR103408]
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Dec 2021 10:18:14 +0000 (11:18 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 15 Dec 2021 10:18:14 +0000 (11:18 +0100)
commit6bf5d9108ae2dcb6cb883442d7bd299fd8fc15e9
treee523aa51582aef334e1bbfb82afdaf31cf847ec3
parente75a0a03588977c8c758091f9b50d456a5f67227
testsuite: Fix up cpp23/auto-fncast11.C testcase [PR103408]

This test fails:
+FAIL: g++.dg/cpp23/auto-fncast11.C  -std=c++2b  (test for errors, line 19)
+FAIL: g++.dg/cpp23/auto-fncast11.C  -std=c++2b (test for excess errors)
because the regex in dg-error was missing an indefinite article.

2021-12-15  Jakub Jelinek  <jakub@redhat.com>

PR c++/103408
* g++.dg/cpp23/auto-fncast11.C: Fix expected diagnostic wording.
gcc/testsuite/g++.dg/cpp23/auto-fncast11.C