Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.fortran-torture/execute/nestcons.f90 @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line source
! Program to test array expressions in array constructors. program nestcons implicit none integer, parameter :: w1(3)= (/ 5, 6, 7/) integer, dimension(6) :: w2 w2 = (/ 1, 2, w1(3:1:-1), 3 /) if (any (w2 .ne. (/ 1, 2, 7, 6, 5, 3/))) STOP 1 end