]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix a test failure in g++.dg/modules/omp-1_c.C
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 20 May 2021 18:19:43 +0000 (20:19 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 20 May 2021 18:25:57 +0000 (20:25 +0200)
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.

gcc/testsuite/g++.dg/modules/omp-1_c.C

index 599a5a5d34f84db86c2a46879751fa39356f8436..71a24f6c8eff13638eb1ae58f33548e4c75b70dd 100644 (file)
@@ -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" }