public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-947] Fix a test failure in g++.dg/modules/omp-1_c.C
@ 2021-05-20 18:26 Bernd Edlinger
  0 siblings, 0 replies; only message in thread
From: Bernd Edlinger @ 2021-05-20 18:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4f4a2f199baf46d35492edadc16f30f32920c4df

commit r12-947-g4f4a2f199baf46d35492edadc16f30f32920c4df
Author: Bernd Edlinger <bernd.edlinger@hotmail.de>
Date:   Thu May 20 20:19:43 2021 +0200

    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.

Diff:
---
 gcc/testsuite/g++.dg/modules/omp-1_c.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/modules/omp-1_c.C b/gcc/testsuite/g++.dg/modules/omp-1_c.C
index 599a5a5d34f..71a24f6c8ef 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" }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-20 18:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 18:26 [gcc r12-947] Fix a test failure in g++.dg/modules/omp-1_c.C Bernd Edlinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).