URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [le.f] - Rev 12
Compare with Previous | Blame | View Log
c { dg-do run } program fool real foo integer n logical t foo = 2.5 n = 5 t = (n > foo) if (t .neqv. .true.) call abort t = (n >= foo) if (t .neqv. .true.) call abort t = (n < foo) if (t .neqv. .false.) call abort t = (n <= 5) if (t .neqv. .true.) call abort t = (n >= 5 ) if (t .neqv. .true.) call abort t = (n == 5) if (t .neqv. .true.) call abort t = (n /= 5) if (t .neqv. .false.) call abort t = (n /= foo) if (t .neqv. .true.) call abort t = (n == foo) if (t .neqv. .false.) call abort end