URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [intrinsic_dim.f90] - Rev 303
Compare with Previous | Blame | View Log
! Program to test the DIM intrinsicprogram intrinsic_dimimplicit noneinteger i, jreal(kind=4) :: r, sreal(kind=8) :: p, qi = 1j = 4if (dim (i, j) .ne. 0) call abortif (dim (j, i) .ne. 3) call abortr = 1.0s = 4.0if (dim (r, s) .ne. 0.0) call abortif (dim (s, r) .ne. 3.0) call abortp = 1.0q = 4.0if (dim (p, q) .ne. 0.0) call abortif (dim (q, p) .ne. 3.0) call abortend program
