]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix up pr107397.f90 test [PR107397]
authorJakub Jelinek <jakub@redhat.com>
Mon, 19 Dec 2022 10:24:55 +0000 (11:24 +0100)
committerJakub Jelinek <jakub@redhat.com>
Mon, 19 Dec 2022 10:24:55 +0000 (11:24 +0100)
commit03fb35f8753d87148b29b3f34b6154abe7db4c41
tree973b043361246964426aeb2910e086cd07b71ab1
parentf39b7a4d37f46bb7e627d67f4a1ae9114f2175d1
testsuite: Fix up pr107397.f90 test [PR107397]

The pr107397.f90 test FAILs for me, one problem was that the
added diagnostics has an indefinite article before BOZ, but
the test dg-error didn't.  The other problem was that on the
other dg-error there was no space between the string and closing
}, so it was completely ignored and the error was an excess
error.

2022-12-19  Jakub Jelinek  <jakub@redhat.com>

PR fortran/107397
* gfortran.dg/pr107397.f90: Adjust expected diagnostic wording and
add space between dg-error string and closing }.
gcc/testsuite/gfortran.dg/pr107397.f90