2 ! { dg-options "-std=gnu" }
3 ! PR33152 Initialization/declaration problems in block data
4 ! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
6 character(len
=3) :: myname(2)=(/'bar','baz'/)
12 integer, parameter :: nmin
=2
14 character(len
=3) :: emname(nmin
) = (/'bar','baz'/)
19 integer, parameter :: nmin
=2
21 data aname
/'bar','baz'/ ! { dg-error "DATA array" }
22 character(len
=3) :: aname(nmin
)