blob: daf5fdbd15c64dc13c6c5f8f7bc8a4f0f3247dc5 [file] [log] [blame]
! { dg-do compile }
! PR34432 integer(kind=init_expression) function is rejected
module m
integer, parameter :: int_t = 4
end module m
program test
print *, test4()
contains
integer(kind=(int_t)) function test4() ! This failed before patch
use m
test4 = 345
end function test4
end program test