arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360]
[official-gcc.git] / gcc / testsuite / gfortran.dg / associate_26a.f90
blob85aebebd4d88628da296845da9dfd4ee9989f09f
1 ! { dg-do compile }
2 ! { dg-options "-fcoarray=lib" }
4 ! Test the fix for PR78152 and the followup in PR82868
6 ! Contributed by <physiker@toast2.net>
8 program co_assoc
9 implicit none
10 integer, parameter :: p = 5
11 real, allocatable :: a(:,:)[:,:]
12 allocate (a(p,p)[2,*])
13 associate (i => a(1:p, 1:p))
14 end associate
15 end program co_assoc