URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [intrinsic_dummy.f90] - Rev 384
Compare with Previous | Blame | View Log
! Program to test passing intrinsic functions as actual arguments for
! dummy procedures.
subroutine test (proc)
implicit none
real proc
real a, b, c
a = 1.0
b = sin (a)
c = proc (a)
if (abs (b - c) .gt. 0.001) call abort
end subroutine
program dummy
implicit none
external test
intrinsic sin
call test (sin)
end program