2 ! Check a few constraints for ALLOCATABLE dummy arguments.
8 call init(a
) ! { dg-error "must be ALLOCATABLE" }
13 integer, allocatable
, intent(out
) :: x(:)
17 integer, allocatable
, intent(in
) :: x(:)
19 allocate(x(3)) ! { dg-error "variable definition context" }
23 integer, allocatable
, intent(in
) :: x(:)
25 deallocate(x
) ! { dg-error "variable definition context" }
28 end program alloc_dummy