diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-10-04 15:24:24 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-10-04 15:24:24 +0200 |
commit | c679cafb0d7e58fd699f9f73e736417765f349bc (patch) | |
tree | 120f30b8a57d54675d91122e74076d6a3af8ba55 /libgfortran/generated/in_pack_r4.c | |
parent | f000cb8cbc58b23a91c84d47d69481904981a1d9 (diff) | |
download | gcc-c679cafb0d7e58fd699f9f73e736417765f349bc.zip gcc-c679cafb0d7e58fd699f9f73e736417765f349bc.tar.gz gcc-c679cafb0d7e58fd699f9f73e736417765f349bc.tar.bz2 |
testsuite: Fix up unevalstr2.C test
The CWG2521 changes adjusted the unevalstr1.C test but didn't adjust
unevalstr2.C test, which now FAILs in C++23 mode.
The intent in both of those tests was to test the separate (now deprecated)
syntax, so instead of removing the space between closing " and _ I've
adjusted the testcase to expect those 17 extra warnings. And I've also
adjusted the unevalstr1.C testcase to do the same, when it is removed from
C++29 or whatever, that can be just guarded by #if.
But it is actually useful to also test the UDL variant without space between
closing " and _, so I've added new test coverage for that too to both tests.
2024-10-04 Jakub Jelinek <jakub@redhat.com>
* g++.dg/cpp26/unevalstr1.C: Revert the 2024-10-03 changes, instead
expect extra warnings. Add another set of tests without space
between " and _.
* g++.dg/cpp26/unevalstr2.C: Expect extra warnings for C++23. Add
another set of tests without space between " and _.
Diffstat (limited to 'libgfortran/generated/in_pack_r4.c')
0 files changed, 0 insertions, 0 deletions