Debian Codegraph @

gcc/testsuite/gfortran.dg/random_seed_2.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR 44595: INTENT of arguments to intrinsic procedures not checked
4 !
5 ! Contributed by Steve Kargl <[email protected]>
6
7 subroutine reset_seed(iseed)
8 implicit none
9 integer, intent(in) :: iseed
10 call random_seed(iseed) ! { dg-error "cannot be INTENT.IN." }
11 end subroutine reset_seed