c++: adjust testcase
authorJason Merrill <jason@redhat.com>
Mon, 4 Apr 2022 17:50:34 +0000 (13:50 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 5 Apr 2022 16:21:36 +0000 (12:21 -0400)
commit5c8d22b00adedc21f8b697dd6b990f4821a06634
tree998173a74fd8694e758725af4f04a307b42cc856
parentb0af8e3a502a64a0e0a04cc54ef055e5d942240f
c++: adjust testcase

This test was failing with -std=c++23 -fimplicit-constexpr (not tested by
default) due to different wording in the error message.

gcc/testsuite/ChangeLog:

* g++.dg/cpp0x/noexcept34.C: Allow more wording variation.
gcc/testsuite/g++.dg/cpp0x/noexcept34.C