aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2021-05-20 20:19:43 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2021-05-20 20:25:57 +0200
commit4f4a2f199baf46d35492edadc16f30f32920c4df (patch)
tree656ef278d451da292b086b164c0fa7f241275302 /gcc
parentd5cbe0f0d4b7bc11f80b2236521f90ec94e95767 (diff)
downloadgcc-4f4a2f199baf46d35492edadc16f30f32920c4df.zip
gcc-4f4a2f199baf46d35492edadc16f30f32920c4df.tar.gz
gcc-4f4a2f199baf46d35492edadc16f30f32920c4df.tar.bz2
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 <bernd.edlinger@hotmail.de> * g++.dg/modules/omp-1_c.C: Fix testcase.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/modules/omp-1_c.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/modules/omp-1_c.C b/gcc/testsuite/g++.dg/modules/omp-1_c.C
index 599a5a5..71a24f6 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" }