aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Werror-7.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2007-06-07 21:01:41 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2007-06-07 21:01:41 +0000
commit1579e8d23577a56ac499e49a2559509a6bd21e49 (patch)
treea854ed565c2bc736951c9fb9838721e1b4b35957 /gcc/testsuite/gcc.dg/Werror-7.c
parent46d8fbd1a2dcb7431d34276f13bddeb7c8a540dd (diff)
downloadgcc-1579e8d23577a56ac499e49a2559509a6bd21e49.zip
gcc-1579e8d23577a56ac499e49a2559509a6bd21e49.tar.gz
gcc-1579e8d23577a56ac499e49a2559509a6bd21e49.tar.bz2
re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)
2007-06-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/parm-mismatch-1.c: Use dg-message for notes. * gcc.dg/Wfatal.c: Use dg-message for output that is neither a warning nor an error. * gcc.dg/Wfatal-2.c: Likewise. * gcc.dg/Werror-1.c: Likewise. * gcc.dg/Werror-5.c: Likewise. * gcc.dg/Werror-7.c: Likewise. * gcc.dg/Werror-10.c: Likewise. * gcc.dg/Werror-11.c: Likewise. From-SVN: r125543
Diffstat (limited to 'gcc/testsuite/gcc.dg/Werror-7.c')
-rw-r--r--gcc/testsuite/gcc.dg/Werror-7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/Werror-7.c b/gcc/testsuite/gcc.dg/Werror-7.c
index 6a69fae..ad541ec 100644
--- a/gcc/testsuite/gcc.dg/Werror-7.c
+++ b/gcc/testsuite/gcc.dg/Werror-7.c
@@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-Waddress -Werror -Wno-error=address -Wattributes" } */
-/* { dg-warning "warnings being treated as errors" "" {target "*-*-*"} 0 } */
+/* { dg-message "warnings being treated as errors" "" {target "*-*-*"} 0 } */
/* Make sure -Wno-error= overrides -Werror. */