testsuite: Fix pragma-eof.c failure due to added line to the test.
authorJakub Jelinek <jakub@redhat.com>
Sat, 18 Jul 2020 21:09:56 +0000 (23:09 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sat, 18 Jul 2020 21:09:56 +0000 (23:09 +0200)
2020-07-18  Jakub Jelinek  <jakub@redhat.com>

* c-c++-common/cpp/pragma-eof.c: Use .+3 instead of 6 in
dg-error.

gcc/testsuite/c-c++-common/cpp/pragma-eof.c

index 9537470ea80086e343ce12fb90589f97445b1451..37c9bd867854f5ceab08336e69253fc1b83a65fd 100644 (file)
@@ -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