Commit ec72bb0c by Thomas König

Commit test case for PR 87644, which has fixed itself somehow.

2020-04-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/87644
	* gfortran.dg/variable_parameter.f90: New test.
parent efbf7392
2020-04-13 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/87644
* gfortran.dg/variable_parameter.f90: New test.
2020-04-13 Linus Koenig <link@sig-st.de>
PR fortran/94192
......
! { dg-do compile }
! PR 87644 - this used to cause an ICE.
! Test case by Matt Thompson.
module test
implicit none
private
public :: get
contains
subroutine initialize()
integer :: parameters
parameters = get()
end subroutine initialize
function get() result(parameters)
integer :: parameters
parameters = 1
end function get
end module test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment