c++: fix cpp0x/constexpr-ex1.C in C++23
commit3333a064e4925afa1ad5f2f8c1350c4f57d631ce
authorMarek Polacek <polacek@redhat.com>
Wed, 13 Dec 2023 23:25:47 +0000 (13 18:25 -0500)
committerMarek Polacek <polacek@redhat.com>
Wed, 13 Dec 2023 23:55:11 +0000 (13 18:55 -0500)
tree9fbc9b739ed042410126ba9b527758e3b3f3db3b
parentc535360788e142a92e1d8b1db25bf4452e26f5fb
c++: fix cpp0x/constexpr-ex1.C in C++23

Since r14-6505 I see:

FAIL: g++.dg/cpp0x/constexpr-ex1.C  -std=c++23  at line 91 (test for errors, line 89)
FAIL: g++.dg/cpp0x/constexpr-ex1.C  -std=c++23 (test for excess errors)
FAIL: g++.dg/cpp0x/constexpr-ex1.C  -std=c++26  at line 91 (test for errors, line 89)
FAIL: g++.dg/cpp0x/constexpr-ex1.C  -std=c++26 (test for excess errors)

and it wasn't fixed by r14-6511.  So I'm fixing it with the below.

gcc/testsuite/ChangeLog:

* g++.dg/cpp0x/constexpr-ex1.C: Adjust expected diagnostic line.
gcc/testsuite/g++.dg/cpp0x/constexpr-ex1.C