2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g77.f-torture / execute / le.f
blob74e42750d55f3f72075236ca28d8ba5563ba4e73
1 program fool
3 real foo
4 integer n
5 logical t
7 foo = 2.5
8 n = 5
10 t = (n > foo)
11 if (t .neqv. .true.) call abort
12 t = (n >= foo)
13 if (t .neqv. .true.) call abort
14 t = (n < foo)
15 if (t .neqv. .false.) call abort
16 t = (n <= 5)
17 if (t .neqv. .true.) call abort
18 t = (n >= 5 )
19 if (t .neqv. .true.) call abort
20 t = (n == 5)
21 if (t .neqv. .true.) call abort
22 t = (n /= 5)
23 if (t .neqv. .false.) call abort
24 t = (n /= foo)
25 if (t .neqv. .true.) call abort
26 t = (n == foo)
27 if (t .neqv. .false.) call abort
29 end