2 ! PR 25031 - We didn't cause an error when allocating an already
5 ! This testcase has been modified to fix PR 49755.
9 integer, allocatable
:: a(:)
10 integer, pointer :: b(:)
13 ! This should set the stat code but not change the size.
15 if (i
== 0) call abort
16 if (.not
. allocated(a
)) call abort
17 if (size(a
) /= 4) call abort
19 ! It's OK to allocate pointers twice (even though this causes