3 ! Test the fix for PR85742 in which the descriptors, passed to alsize,
4 ! for 'a' and 'b' had the wrong element length.
6 ! Contributed by Cesar Philippidis <cesar@gcc.gnu.org>
10 integer, allocatable
:: a
12 integer, allocatable
:: am(:,:)
13 real, pointer :: bm(:,:)
20 if (sizeof (a
) /= alsize (a
)) stop 1
21 if (sizeof (b
) /= alsize (b
)) stop 2
22 if (sizeof (am
) /= alsize (am
)) stop 3
23 if (sizeof (bm
) /= alsize (bm
)) stop 4
30 type (*), dimension (..), contiguous
:: a