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
2011-05-23 Tom de Vries <tom@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
initialization_9.f90
blob
d90404748803b2defed8b2e00c878a36cad86fd0
1
! { dg-do compile }
2
!
3
! PR fortran/31639
4
! Contributed by Martin Michlmayr <tbm AT cyrius DOT com>
5
6
integer function
xstrcmp
(
s1
)
7
character
*(*),
intent
(
in
) ::
s1
8
integer
::
n1
=
len
(
s1
)
! { dg-error "Assumed or deferred character length variable" }
9
n1
=
1
10
return
11
end function
xstrcmp