2 module bind_c_array_params
3 use, intrinsic :: iso_c_binding
7 subroutine sub0(assumed_array) bind(c) ! { dg-error "cannot be an argument" }
8 integer(c_int), dimension(:) :: assumed_array
11 subroutine sub1(deferred_array) bind(c) ! { dg-error "cannot" }
12 integer(c_int), pointer :: deferred_array(:)
14 end module bind_c_array_params