summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/f2c_5.c
blob: bb57556d0116b22ac795360d45a22a3694117280 (plain)
1
2
3
4
5
6
7
8
9
extern float f2c_5b_(double *);
extern void abort (void);

void f2c_5a_(void) {
  double a,b;
  a = 1023.0;
  b=f2c_5b_(&a);
  if ( a != b ) abort();
}