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
tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
charlen_17.f90
blob
6b766d8f4338705b71d8b171ecf352b605e35984
1
! { dg-do compile }
2
! PR 87673 - used to cause errors about non-pure functions.
3
4
module
x
5
implicit none
6
contains
7
pure
function
foo
()
result
(
res
)
8
character
(
len
=:),
allocatable
::
res
9
allocate
(
character
(
bar
()) ::
res
)
10
end function
foo
11
pure
integer function
bar
()
12
bar
=
1
13
end function
bar
14
end module
x