mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 16:59:53 +08:00
new test from egcs-bug archives.
From-SVN: r15895
This commit is contained in:
parent
9abbaac7c2
commit
31c0e01bc5
12
gcc/testsuite/g77.f-torture/compile/971014-1.f
Normal file
12
gcc/testsuite/g77.f-torture/compile/971014-1.f
Normal file
@ -0,0 +1,12 @@
|
||||
C
|
||||
C RND - Return a random integer mod n
|
||||
C
|
||||
INTEGER FUNCTION RND (N)
|
||||
IMPLICIT INTEGER (A-Z)
|
||||
REAL RAND
|
||||
COMMON /SEED/ RNSEED
|
||||
|
||||
RND = RAND(RNSEED)*FLOAT(N)
|
||||
RETURN
|
||||
|
||||
END
|
Loading…
Reference in New Issue
Block a user