summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/old-style-prom-1.c
blob: 165ff982708675b728e7842554d0519b3bcad963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test for prototype followed by old-style definition, as in
   dremf-type-compat-1.c but with a non-built-in function.  */
/* { dg-do compile } */
/* { dg-options "" } */

float f (float, float);

float
f (x, y)
     float x, y;
{
  return x + y;
}