aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-10-05 14:28:10 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-10-05 14:28:10 +0200
commit7f4192dd3d84cb3f6584ae847eae18519d1eb76d (patch)
tree74c0c51e8f32d7c6da28a186b67fcabd259621fe
parent9856132b5b8a5e75a81763fe06e4b8c06011d870 (diff)
downloadgcc-7f4192dd3d84cb3f6584ae847eae18519d1eb76d.zip
gcc-7f4192dd3d84cb3f6584ae847eae18519d1eb76d.tar.gz
gcc-7f4192dd3d84cb3f6584ae847eae18519d1eb76d.tar.bz2
gfortran.dg/gomp/pr43711.f90: Change dg-* for XFAIL->PASS
gcc/testsuite/ * gfortran.dg/gomp/pr43711.f90: Add dg-error + dg-prune-output, remove dg-excess-errors to change XFAIL to PASS.
-rw-r--r--gcc/testsuite/gfortran.dg/gomp/pr43711.f908
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gfortran.dg/gomp/pr43711.f90 b/gcc/testsuite/gfortran.dg/gomp/pr43711.f90
index e47e586..d790e3e 100644
--- a/gcc/testsuite/gfortran.dg/gomp/pr43711.f90
+++ b/gcc/testsuite/gfortran.dg/gomp/pr43711.f90
@@ -11,8 +11,8 @@ program NF03_2_5_2_1a
print *, 'FAIL'
!$omp section
print *, 'FAIL'
- !$omp end sections nowait nowait ! { dg-error "Unexpected junk" }
- !$omp end parallel
-end program NF03_2_5_2_1a
+ !$omp end sections nowait nowait ! { dg-error "Unexpected junk after NOWAIT clause" }
+ !$omp end parallel ! { dg-error "Unexpected !.OMP END PARALLEL statement" }
+end program NF03_2_5_2_1a ! { dg-error "Unexpected END statement" }
-! { dg-excess-errors "Unexpected" }
+! { dg-prune-output "Unexpected end of file" }