This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran, committed] PR15164: Add testcase to testsuite
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: GCC Fortran mailing list <fortran at gcc dot gnu dot org>
- Cc: patch <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 26 Sep 2004 17:45:21 +0200
- Subject: Re: [gfortran, committed] PR15164: Add testcase to testsuite
- References: <4156E027.9000509@physik.uni-muenchen.de>
This is the actual testcase I committed, attached the wrong file originally.
- Tobi
! { dg-do compile }
! I couldn't reproduce the failure with a compiler built from the
! 2004-09-26 sources
module specfiles
contains
subroutine split(instring,outstrings,lenout,n,i)
integer(kind=4),intent(in) :: lenout,n
character(len=*),intent(in) :: instring
character(len=lenout),dimension(n),intent(out) :: outstrings
integer(kind=4) :: i,j,k
j=1; k=1
outstrings(j)(k:k)=instring(i:i)
return
end subroutine split
end module specfiles