testsuite: Fix pragma-eof.c failure due to added line to the test.

2020-07-18  Jakub Jelinek  <jakub@redhat.com>

	* c-c++-common/cpp/pragma-eof.c: Use .+3 instead of 6 in
	dg-error.
This commit is contained in:
Jakub Jelinek 2020-07-18 23:09:56 +02:00
parent a36b14a333
commit 2f1d4cb54e
1 changed files with 1 additions and 1 deletions

View 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