projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
re PR other/42965 (no "warnings being treated as errors" for individual -Werror=x...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cpp
/
warning-directive-2.c
diff --git
a/gcc/testsuite/gcc.dg/cpp/warning-directive-2.c
b/gcc/testsuite/gcc.dg/cpp/warning-directive-2.c
index 0889803cd11632d6e38499c2b24472e052b94e50..753b84a692ee1d3eda889235235051130e1eef8f 100644
(file)
--- a/
gcc/testsuite/gcc.dg/cpp/warning-directive-2.c
+++ b/
gcc/testsuite/gcc.dg/cpp/warning-directive-2.c
@@
-1,4
+1,4
@@
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=cpp" }
-
+/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
#warning "Printed" // { dg-error "\"Printed\" .-Wcpp." }