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>
13 integer, dimension (i) :: j ! { dg-error "must have constant shape" }
14 character (len = i) :: c1 ! { dg-error "must have constant character length" }
18 integer, dimension (i) :: k ! { dg-error "must have constant shape" }
19 character (len = i) :: c2 ! { dg-error "must have constant character length" }