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
This commit is contained in:
Manuel López-Ibáñez 2007-07-10 09:17:01 +00:00
parent 899583cb40
commit f38306151a
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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)
{