Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gfortran.dg/associate_19.f03 @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
130:e108057fa461 | 132:d34655255c78 |
---|---|
14 | 14 |
15 i(:,1) = (/ 1 , 3 , 5 /) | 15 i(:,1) = (/ 1 , 3 , 5 /) |
16 i(:,2) = (/ 4 , 5 , 6 /) | 16 i(:,2) = (/ 4 , 5 , 6 /) |
17 | 17 |
18 associate( ai => a(:,i(:,1)) ) | 18 associate( ai => a(:,i(:,1)) ) |
19 if (any(shape(ai) /= [2, 3])) call abort() | 19 if (any(shape(ai) /= [2, 3])) STOP 1 |
20 if (any(reshape(ai, [6]) /= [1 , -10, 3, -30, 5, -50])) call abort() | 20 if (any(reshape(ai, [6]) /= [1 , -10, 3, -30, 5, -50])) STOP 2 |
21 end associate | 21 end associate |
22 | 22 |
23 end program p | 23 end program p |