2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / f2c_5.f90
blobcfc37c82e396fc4f401ba2ca694ce49da42f44cf
1 ! { dg-do run }
2 ! { dg-additional-sources f2c_5.c }
3 ! { dg-options "-fno-f2c -w" }
4 ! Check calling conventions without -ff2c
5 program f2c_5
6 call f2c_5a()
7 end
9 real function f2c_5b(x)
10 double precision x
11 f2c_5b = x
12 end