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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
initialization_9.f90
blob
2341d40d6d953fca88e9c7ff0941eaa72c326b01
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 character length variable" }
9
n1
=
1
10
return
11
end function
xstrcmp