Commit f885a45b by Paolo Carlini Committed by Paolo Carlini

re PR c/37271 (gcc.dg/pr37186.c doesn't work)

2008-08-31  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c/37271
	* gcc.dg/pr37186.c: Add dg-message command for line 5.

From-SVN: r139833
parent eb829078
2008-08-31 Paolo Carlini <paolo.carlini@oracle.com>
PR c/37271
* gcc.dg/pr37186.c: Add dg-message command for line 5.
2008-08-31 Richard Guenther <rguenther@suse.de>
PR middle-end/37289
......
......@@ -2,7 +2,7 @@
/* { dg-do compile } */
/* { dg-options "-Wall -Werror -Wno-error=pointer-sign" } */
int foo(signed char *);
int foo(signed char *); /* { dg-message "note: expected 'signed char \\*' but argument is of type 'unsigned char \\*'" } */
int bar(unsigned char *p)
{
return foo(p); /* { dg-warning "pointer targets in passing argument 1 of 'foo' differ in signedness" } */
......
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