3 ! Tests the fix for PR82622.
5 ! Contributed by Gerhard Steinmetz <gscfq@t-online.de>
15 type(t2(:)), allocatable :: x
16 allocate (t2(3) :: x) ! Used to segfault in trans-array.c.
17 if (x%b .ne. 3) STOP 1
18 if (x%b .ne. size (x%r, 1)) STOP 2
19 if (any (x%r%a .ne. 1)) STOP 3