mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 05:48:57 +08:00
Add regression test for RAND.
From-SVN: r22843
This commit is contained in:
parent
bd7aa7c3f7
commit
d88c06be2c
@ -147,6 +147,11 @@ c now try to get times to change enough to see in etime/dtime
|
||||
call dumdum(r1)
|
||||
call second(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)
|
||||
if (i.ne.0) then
|
||||
call perror ('*** getcwd')
|
||||
|
Loading…
Reference in New Issue
Block a user