Commit d88c06be by Dave Love

Add regression test for RAND.

From-SVN: r22843
parent bd7aa7c3
...@@ -147,6 +147,11 @@ c now try to get times to change enough to see in etime/dtime ...@@ -147,6 +147,11 @@ c now try to get times to change enough to see in etime/dtime
call dumdum(r1) call dumdum(r1)
call second(r1) call second(r1)
write (6,*) 'CALL SECOND returns: ', r1 write (6,*) 'CALL SECOND returns: ', r1
* compiler crash fixed by 1998-10-01 com.c change
if (rand(0).lt.0.0 .or. rand(0).gt.1.0) then
write (6,*) '*** rand(0) error'
call abort()
end if
i = getcwd(wd) i = getcwd(wd)
if (i.ne.0) then if (i.ne.0) then
call perror ('*** getcwd') call perror ('*** getcwd')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment