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
[to-be-committed] [RISC-V] Use Zbkb for general 64 bit constants when profitable
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
variable_parameter.f90
blob
d653c30562fccbb9c1825cdc5572c52ab118da3f
1
! { dg-do compile }
2
! PR 87644 - this used to cause an ICE.
3
! Test case by Matt Thompson.
4
module
test
5
6
implicit none
7
private
8
public
::
get
9
10
contains
11
12
subroutine
initialize
()
13
integer
::
parameters
14
parameters
=
get
()
15
end subroutine
initialize
16
17
function
get
()
result
(
parameters
)
18
integer
::
parameters
19
parameters
=
1
20
end function
get
21
22
end module
test