Changed to STOP 1 in unlimited_polymorphic_31.f03.
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 23 Aug 2020 14:48:36 +0000 (15:48 +0100)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 23 Aug 2020 14:48:36 +0000 (15:48 +0100)
2020-08-23  Paul Thomas  <pault@gcc.gnu.org>

gcc/testsuite/
PR fortran/92785
* gfortran.dg/unlimited_polymorphic_31.f03: Change to stop 1.

gcc/testsuite/gfortran.dg/unlimited_polymorphic_31.f03

index 72d90a0..d05ac7c 100644 (file)
@@ -27,7 +27,7 @@
       call write_row ('[iarr(::1)]            ', [iarr(::1)])             ! pass in compound constructor, NOT OK
       call write_row ('[(i*10,i=1,size(iarr))]', [(i*10,i=1,size(iarr))]) ! pass in constructor, OK
       call write_row ('10*[(i,i=1,size(iarr))]', 10*[(i,i=1,size(iarr))]) ! pass in constructor, OK
-      if (ibad .gt. 0) stop 'FAILED'
+      if (ibad .gt. 0) stop 1
    contains
       subroutine write_scalar (g1)
          class(*) :: g1