Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gfortran.dg/common_2.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
! { dg-do run } ! The equivalence was causing us to miss out c when laying out the common ! block. program common_2 common /block/ a, b, c, d integer a, b, c, d, n dimension n(4) equivalence (a, n(1)) equivalence (c, n(3)) a = 1 b = 2 c = 3 d = 4 if (any (n .ne. (/1, 2, 3, 4/))) STOP 1 end program