Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gfortran.fortran-torture / execute / intrinsic_dummy.f90
blob2e8a34014925c33e8a8de6028af0c2550b7c1848
1 ! Program to test passing intrinsic functions as actual arguments for
2 ! dummy procedures.
3 subroutine test (proc)
4 implicit none
5 real proc
6 real a, b, c
8 a = 1.0
9 b = sin (a)
10 c = proc (a)
12 if (abs (b - c) .gt. 0.001) call abort
14 end subroutine
16 program dummy
17 implicit none
18 external test
19 intrinsic sin
21 call test (sin)
22 end program