From 9d923e3f7aff2107743bdd70d0cf04b969e1b1a1 Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Thu, 20 May 2021 20:19:43 +0200 Subject: [PATCH 02/15] 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. --- 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" } -- 2.33.1