aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2007-06-05 22:30:24 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2007-06-05 22:30:24 +0000
commitebd003c09b7189207a91aaf6f5e9fac0b40f733c (patch)
treef1e5531761371a5ad76ff6bd284af07f23c13421 /gcc/testsuite/gcc.dg/cpp
parentf7fd775f0203c580b35b179976c665db3e4d9e46 (diff)
downloadgcc-ebd003c09b7189207a91aaf6f5e9fac0b40f733c.zip
gcc-ebd003c09b7189207a91aaf6f5e9fac0b40f733c.tar.gz
gcc-ebd003c09b7189207a91aaf6f5e9fac0b40f733c.tar.bz2
re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)
2007-06-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR testsuite/25241 testsuite/ * gcc.dg/invalid-call-1.c: Use dg-warning to match the warning and dg-message to match de note. * gcc.dg/pr26570.c: Use dg-message for a note. * gcc.dg/pr29254.c: Use dg-message for generic output and use dg-error instead of dg-warning because of -Werror. * gcc.dg/glibc-uclibc-1.c: Use dg-message for output that is neither an error, nor a warning. * gcc.dg/glibc-uclibc-2.c: Likewise * gcc.dg/cpp/19940712-1.c: Likewise. From-SVN: r125347
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r--gcc/testsuite/gcc.dg/cpp/19940712-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/19940712-1.c b/gcc/testsuite/gcc.dg/cpp/19940712-1.c
index d5ed889..98bcd76 100644
--- a/gcc/testsuite/gcc.dg/cpp/19940712-1.c
+++ b/gcc/testsuite/gcc.dg/cpp/19940712-1.c
@@ -5,8 +5,8 @@
/* { dg-error "unterminated comment" "" { target *-*-* } 4 } */
/* { dg-error "unterminated comment" "header error" { target *-*-* } 8 } */
-#include "19940712-1.h" /* { dg-error "" } // In file included from: */
-#include "19940712-1a.h" /* { dg-error "" } // In file included from: */
+#include "19940712-1.h" /* { dg-message "" } // In file included from: */
+#include "19940712-1a.h" /* { dg-message "" } // In file included from: */
#include "19940712-1b.h"
/* comment start in comment error