2014-07-12 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / random_seed_2.f90
blob52728f8192dd086379c32e7ce2b0b10e7f2ba383
1 ! { dg-do compile }
3 ! PR 44595: INTENT of arguments to intrinsic procedures not checked
5 ! Contributed by Steve Kargl <kargl@gcc.gnu.org>
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