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 "Cannot allocate" }
23 integer, allocatable, intent(in) :: x(:)
25 deallocate(x) ! { dg-error "Cannot deallocate" }
28 end program alloc_dummy