3 ! PR fortran/34785, in which the character length of BA_T was not
4 ! passed on to the array constructor argument of SEQ.
6 ! Contributed by Dick Hendrickson <dick.hendrickson@gmail.com>
12 CHARACTER(len = 9) :: BA(2)
14 CHARACTER(len = 9) :: BA_T(2)
15 CHARACTER(LEN = 9) :: CA_T(1,2)
16 END MODULE o_TYPE_DEFS
22 SUBROUTINE OG0015(UDS0L)
25 UDS0L = SEQ((/ (BA_T(J1),J1=1,2) /))
31 SUBROUTINE OG0015(UDS0L)
33 UDS0L = SEQ(RESHAPE ( (/ ((CA_T(J1,J2), J1 = 1, 1), J2 = 1, 2)/),(/2/)))
36 ! { dg-final { cleanup-modules "o_type_defs tests" } }