testsuite: Fix pragma-eof.c failure due to added line to the test.
[gcc.git] / 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