projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a36b14a
)
testsuite: Fix pragma-eof.c failure due to added line to the test.
author
Jakub Jelinek
<jakub@redhat.com>
Sat, 18 Jul 2020 21:09:56 +0000
(23:09 +0200)
committer
Jakub 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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/c-c++-common/cpp/pragma-eof.c
b/gcc/testsuite/c-c++-common/cpp/pragma-eof.c
index 9537470ea80086e343ce12fb90589f97445b1451..37c9bd867854f5ceab08336e69253fc1b83a65fd 100644
(file)
--- 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