]> git.ipfire.org Git - thirdparty/gcc.git/commit
gfortran.dg/gomp/pr99226.f90: Add missing dg-error
authorTobias Burnus <tobias@codesourcery.com>
Tue, 25 Jul 2023 07:28:43 +0000 (09:28 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 25 Jul 2023 07:28:43 +0000 (09:28 +0200)
commit50656980497d77ac12a5e7179013a6af09ba32f7
treef342c99a58fd49d741123f1817e0dd8688e5add0
parent54ce3cbd285d453b954c281bb3ad38bee2f65330
gfortran.dg/gomp/pr99226.f90: Add missing dg-error

Follow up to r14-2754-g2e31fe431b08b0302e1fa8a1c18ee51adafd41df
which added a check that a target region with teams does not
have anything anything else strictly nested in the target.

When changing the dg-error for this PR, somehow the addition of a
dg-error in a second line was lost (the message uses (1) and (2) as
location, showing two lines, both need a dg-error with the same message).

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/pr99226.f90: Update dg-error.
gcc/testsuite/gfortran.dg/gomp/pr99226.f90