From: Bernd Edlinger Date: Thu, 20 May 2021 18:19:43 +0000 (+0200) Subject: Fix a test failure in g++.dg/modules/omp-1_c.C X-Git-Tag: basepoints/gcc-13~7366 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f4a2f199baf46d35492edadc16f30f32920c4df;p=thirdparty%2Fgcc.git Fix a test failure in g++.dg/modules/omp-1_c.C Adjust the line number due to previous commit, which added a line for dg-require-effective-target. 2021-05-20 Bernd Edlinger * g++.dg/modules/omp-1_c.C: Fix testcase. --- diff --git a/gcc/testsuite/g++.dg/modules/omp-1_c.C b/gcc/testsuite/g++.dg/modules/omp-1_c.C index 599a5a5d34f8..71a24f6c8eff 100644 --- a/gcc/testsuite/g++.dg/modules/omp-1_c.C +++ b/gcc/testsuite/g++.dg/modules/omp-1_c.C @@ -3,7 +3,7 @@ import foo; -// { dg-regexp "In module imported at \[^\n]*omp-1_c.C:3:1:\nfoo: error: module contains OpenMP, use '-fopenmp' to enable\n" } +// { dg-regexp "In module imported at \[^\n]*omp-1_c.C:4:1:\nfoo: error: module contains OpenMP, use '-fopenmp' to enable\n" } // { dg-prune-output "failed to read" } // { dg-prune-output "fatal error:" } // { dg-prune-output "compilation terminated" }