Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/gfortran.dg/string_ctor_1.f90 @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line diff
--- a/gcc/testsuite/gfortran.dg/string_ctor_1.f90 Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/testsuite/gfortran.dg/string_ctor_1.f90 Thu Oct 25 07:37:49 2018 +0900 @@ -12,7 +12,7 @@ ! A variable array constructor. s = (/t, u/) ! An array constructor as part of an expression. - if (any (s .ne. (/"Hell", "Worl"/))) call abort + if (any (s .ne. (/"Hell", "Worl"/))) STOP 1 end subroutine subroutine test2 @@ -20,7 +20,7 @@ ! A constant array constructor s = (/"Hello", "World"/) - if ((s(1) .ne. "Hello") .or. (s(2) .ne. "World")) call abort + if ((s(1) .ne. "Hello") .or. (s(2) .ne. "World")) STOP 2 end subroutine subroutine test3 @@ -40,7 +40,7 @@ do i=1, 26 t(i:i) = s(i) end do - if (t .ne. "zyxwvutsrqponmlkjihgfedcba") call abort + if (t .ne. "zyxwvutsrqponmlkjihgfedcba") STOP 3 end subroutine program string_ctor_1