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
parent 899583cb
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
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment