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
/
pr85687.f90
blob
03bc2119364c65a0c99792cd4ccc9f0fb3bf6e9c
1
! { dg-do compile }
2
! PR fortran/85687
3
! Code original contributed by Gerhard Steinmetz gscfq at t-oline dot de
4
program
p
5
type
t
6
end type
7
print
*,
rank
(
t
)
! { dg-error "must be a data object" }
8
end