repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
implicit_pure_4.f90
blob
8563dd721087d7fc437d307b8bde467049889135
1
! { dg-do compile }
2
!
3
! PR fortran/60543
4
! PR fortran/60283
5
!
6
module
m
7
contains
8
REAL
(
8
)
FUNCTION
random
()
9
CALL
RANDOM_NUMBER
(
random
)
10
END FUNCTION
random
11
REAL
(
8
)
FUNCTION
random2
()
12
block
13
block
14
block
15
CALL
RANDOM_NUMBER
(
random2
)
16
end
block
17
end
block
18
end
block
19
END FUNCTION
random2
20
end module
m
21
22
! { dg-final { scan-module-absence "m" "IMPLICIT_PURE" } }