2 ! Tests the fix for 25103, in which the presence of automatic objects
3 ! in the main program and the specification part of a module was not
6 ! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
8 ! Error message update with patch for PR fortran/83633
15 integer, dimension (i
) :: j
! { dg-error "array with nonconstant bounds" }
16 character (len
= i
) :: c1
! { dg-error "must have constant character length" }
20 integer, dimension (i
) :: k
! { dg-error "array with nonconstant bounds" }
21 character (len
= i
) :: c2
! { dg-error "must have constant character length" }