repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
minmaxloc_15.f90
blob
e4eba3501d5889ef6fb542db1035d61c45517ce0
1
! { dg-do compile }
2
! PR fortran/103473 - ICE in simplify_minmaxloc_nodim
3
! Test case by Gerhard Steinmetz.
4
5
subroutine
s
6
implicit none
7
integer
,
parameter
::
a
(+
'1'
) = [
1
]
! { dg-error "unary numeric operator" }
8
print
*,
minloc
(
a
)
9
end
10
11
! { dg-prune-output "Parameter array" }