blob: e4eba3501d5889ef6fb542db1035d61c45517ce0 [file] [log] [blame]
! { dg-do compile }
! PR fortran/103473 - ICE in simplify_minmaxloc_nodim
! Test case by Gerhard Steinmetz.
subroutine s
implicit none
integer, parameter :: a(+'1') = [1] ! { dg-error "unary numeric operator" }
print *, minloc (a)
end
! { dg-prune-output "Parameter array" }