diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/pr70673.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/pr70673.f90 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr70673.f90 b/gcc/testsuite/gfortran.dg/pr70673.f90 index fa4bd2fe02b..6eb9e7fa1b7 100644 --- a/gcc/testsuite/gfortran.dg/pr70673.f90 +++ b/gcc/testsuite/gfortran.dg/pr70673.f90 @@ -9,14 +9,12 @@ contains subroutine s(inp) character(*), intent(in) :: inp character(:), allocatable :: a - a = a ! This used to ICE. a = inp a = a ! This used to ICE too if ((len (a) .ne. 5) .or. (a .ne. "hello")) STOP 1 a = a(2:3) ! Make sure that temporary creation is not broken. if ((len (a) .ne. 2) .or. (a .ne. "el")) STOP 2 deallocate (a) - a = a ! This would ICE too. end subroutine s end module m |