Debian Codegraph @

gcc/testsuite/gfortran.dg/pr67219.f90

raw
1 ! { dg-do compile }
2 ! PR 67149 - this used to throw a spurious error.
3 function foo(bar)
4 integer(8) :: foo
5 integer(4), intent(in) :: bar
6 integer(4), parameter :: huge_4 = huge(0_4)
7 foo = (huge_4 - int(bar,kind=8))
8 end function