Commit 6958c780 by Aldy Hernandez Committed by Aldy Hernandez

* gcc.dg/func-ptr-conv-1.c: Update column info.

From-SVN: r148609
parent 2f4d1994
2009-06-17 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/func-ptr-conv-1.c: Update column info.
2009-06-17 Richard Guenther <rguenther@suse.de>
PR middle-end/40404
......
......@@ -37,8 +37,8 @@ g(void)
fp = c5; /* { dg-warning "6:pointer" "bad conversion" } */
fp = (void (*)(void))v5; /* { dg-warning "8:pointer" "bad conversion" } */
fp = (void (*)(void))c5; /* { dg-warning "8:pointer" "bad conversion" } */
(a ? f : v3); /* { dg-warning "6:pointer" "bad conversion" } */
(a ? v2 : fp); /* { dg-warning "6:pointer" "bad conversion" } */
(a ? f : v3); /* { dg-warning "10:pointer" "bad conversion" } */
(a ? v2 : fp); /* { dg-warning "11:pointer" "bad conversion" } */
/* The following are OK. */
fp = 0;
fp = (void *)0;
......
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