OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp
/
warning-directive-2.C
diff --git
a/gcc/testsuite/g++.dg/cpp/warning-directive-2.C
b/gcc/testsuite/g++.dg/cpp/warning-directive-2.C
index
abd6427
..
c2efc17
100644
(file)
--- a/
gcc/testsuite/g++.dg/cpp/warning-directive-2.C
+++ b/
gcc/testsuite/g++.dg/cpp/warning-directive-2.C
@@
-1,4
+1,4
@@
// { dg-do preprocess }
// { dg-options "-fdiagnostics-show-option -Werror=cpp" }
-
+/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
#warning "Printed" // { dg-error "\"Printed\" .-Wcpp." }