From 2f1d4cb54ef9edf30d0cddb1c746c74561e9b50c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 18 Jul 2020 23:09:56 +0200 Subject: [PATCH] testsuite: Fix pragma-eof.c failure due to added line to the test. 2020-07-18 Jakub Jelinek * c-c++-common/cpp/pragma-eof.c: Use .+3 instead of 6 in dg-error. --- gcc/testsuite/c-c++-common/cpp/pragma-eof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c index 9537470ea80..37c9bd86785 100644 --- a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c +++ b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c @@ -1,7 +1,7 @@ /* { dg-require-effective-target fopenmp } */ /* { dg-additional-options -fopenmp } */ -/* { dg-error "expected" "" { target *-*-* } 6 } */ +/* { dg-error "expected" "" { target *-*-* } .+3 } */ /* Make sure we see pragma_eol even though lacking new line. * /* no newline at end of file. */ #pragma omp parallel \ No newline at end of file -- 2.30.2