* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / old-style-prom-3.c
blob19bbc8c8d560007cc902391f4fb9c22168e4d303
1 /* Test for prototype followed by old-style definition, as in
2 dremf-type-compat-3.c but with a non-built-in function. */
3 /* { dg-do compile } */
4 /* { dg-options "-pedantic-errors" } */
6 float f (float, float); /* { dg-error "error: prototype declaration" } */
8 float
9 f (x, y)
10 float x;
11 float y;
12 { /* { dg-error "error: promoted argument '.' doesn't match prototype" } */
13 return x + y;