OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [le.f] - Blame information for rev 315

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
c { dg-do run }
2
      program fool
3
 
4
      real     foo
5
      integer  n
6
      logical  t
7
 
8
      foo = 2.5
9
      n = 5
10
 
11
      t = (n > foo)
12
      if (t .neqv. .true.) call abort
13
      t = (n >= foo)
14
      if (t .neqv. .true.) call abort
15
      t = (n < foo)
16
      if (t .neqv. .false.) call abort
17
      t = (n <= 5)
18
      if (t .neqv. .true.) call abort
19
      t = (n >= 5 )
20
      if (t .neqv. .true.) call abort
21
      t = (n == 5)
22
      if (t .neqv. .true.) call abort
23
      t = (n /= 5)
24
      if (t .neqv. .false.) call abort
25
      t = (n /= foo)
26
      if (t .neqv. .true.) call abort
27
      t = (n == foo)
28
      if (t .neqv. .false.) call abort
29
 
30
      end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.