Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gfortran.fortran-torture / execute / intrinsic_mmloc_3.f90
blob2e18a29bc16b66b2a9970a35cf0538fa12ff9760
1 ! Check we do the right thing with extreme values.
2 ! From PR12704
3 program intrinsic_mmloc_3
4 integer, dimension(2) :: d
5 integer, dimension(2,2) :: a
7 d = -huge (d)
8 if (maxloc (d, 1) .ne. 1) call abort()
9 a = huge (a)
10 d = minloc (a)
11 if (any (d .ne. 1)) call abort()
12 end program