2 ! { dg-options "-fbounds-check" }
3 ! { dg-shouldfail "Incorrect extent in return value of MAXLOC intrinsic: is 3, should be 2" }
7 integer(kind
=4), allocatable
:: f(:,:)
8 integer, dimension(:) :: res
21 ! { dg-output "Fortran runtime error: Incorrect extent in return value of MAXLOC intrinsic: is 3, should be 2" }
22 ! { dg-final { cleanup-modules "tst" } }