diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/deferred_character_14.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/deferred_character_14.f90 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gfortran.dg/deferred_character_14.f90 b/gcc/testsuite/gfortran.dg/deferred_character_14.f90 index 3c4163ee7ac..c6b7b25ee2f 100644 --- a/gcc/testsuite/gfortran.dg/deferred_character_14.f90 +++ b/gcc/testsuite/gfortran.dg/deferred_character_14.f90 @@ -20,11 +20,11 @@ program stringtest character(:), dimension(:), allocatable :: s ! Comment #1 allocate(character(1) :: s(10)) - if (size (s) .ne. 10) call abort - if (len (s) .ne. 1) call abort + if (size (s) .ne. 10) STOP 1 + if (len (s) .ne. 1) STOP 2 ! Comment #4 call allocate_array(s4) - if (size (s4) .ne. 2) call abort - if (len (s4) .ne. 2) call abort - if (any (s4 .ne. ["ab", "cd"])) call abort + if (size (s4) .ne. 2) STOP 3 + if (len (s4) .ne. 2) STOP 4 + if (any (s4 .ne. ["ab", "cd"])) STOP 5 end program |