FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g77.dg / ff90-1.f
blobf33eb28b21bc9b6580c10a4c7ebdc6229387602d
1 C Test compiler flags: -ff90
2 C Origin: David Billinghurst <David.Billinghurst@riotinto.com>
4 C Read the g77 manual entry on CMPAMBIG
6 C { dg-do run }
7 C { dg-options "-ff90" }
8 double complex z
9 z = (2.0d0,1.0d0)
10 call s(real(z))
11 end
12 subroutine s(x)
13 double precision x
14 if ( abs(x-2.0d0) .gt. 1.0e-5 ) call abort
15 end