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
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr71859.f90
blob
0dc617786ce176e80b4843a8da6bc45e550b36d2
1
! { dg-do compile }
2
program
p
3
call
s
(
1
)
4
x
=
abs
(
s
)
! { dg-error "must have a numeric type" }
5
end
6
subroutine
s
(
n
)
7
print
*,
n
8
end