diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-07-10 09:17:01 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-07-10 09:17:01 +0000 |
commit | f38306151a70731214d84491ef72b1757f6de4c2 (patch) | |
tree | bb75618b97d1893c2afe18f6b302796539308cc0 /gcc | |
parent | 899583cb409be525bc9ab6ac11b3ce53f4791a30 (diff) | |
download | gcc-f38306151a70731214d84491ef72b1757f6de4c2.zip gcc-f38306151a70731214d84491ef72b1757f6de4c2.tar.gz gcc-f38306151a70731214d84491ef72b1757f6de4c2.tar.bz2 |
re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings)
2007-07-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR testsuite/25241
* gcc.dg/pch/counter-2.c: Match every message with its appropriate
directive.
From-SVN: r126511
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pch/counter-2.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 20ec01f..252669a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-07-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR testsuite/25241 + * gcc.dg/pch/counter-2.c: Match every message with its appropriate + directive. + 2007-07-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/32157 diff --git a/gcc/testsuite/gcc.dg/pch/counter-2.c b/gcc/testsuite/gcc.dg/pch/counter-2.c index 7bbde23..d0475ba 100644 --- a/gcc/testsuite/gcc.dg/pch/counter-2.c +++ b/gcc/testsuite/gcc.dg/pch/counter-2.c @@ -7,7 +7,9 @@ #error __COUNTER__ != 0 #endif -#include "counter-2.h"/* { dg-error "`__COUNTER__' is invalid|No such file|they were invalid" } */ +#include "counter-2.h" /* { dg-warning "not used because `__COUNTER__' is invalid" } */ +/* { dg-error "counter-2.h: No such file or directory" "" { target *-*-* } 10 } */ +/* { dg-error "one or more PCH files were found, but they were invalid" "" { target *-*-* } 10 } */ int main(void) { |