OSDN Git Service

2005-07-18 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / old-style-prom-1.c
1 /* Test for prototype followed by old-style definition, as in
2    dremf-type-compat-1.c but with a non-built-in function.  */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
5
6 float f (float, float);
7
8 float
9 f (x, y)
10      float x, y;
11 {
12   return x + y;
13 }