From: Jakub Jelinek Date: Sat, 18 Jul 2020 21:09:56 +0000 (+0200) Subject: testsuite: Fix pragma-eof.c failure due to added line to the test. X-Git-Tag: basepoints/gcc-12~6046 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f1d4cb54ef9edf30d0cddb1c746c74561e9b50c;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c index 9537470ea800..37c9bd867854 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