[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / old-style-prom-1.c
blob165ff982708675b728e7842554d0519b3bcad963
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 "" } */
6 float f (float, float);
8 float
9 f (x, y)
10 float x, y;
12 return x + y;