bind_c_array_params.f03

来自「用于进行gcc测试」· F03 代码 · 共 15 行

F03
15
字号
! { dg-do compile }module bind_c_array_paramsuse, intrinsic :: iso_c_bindingimplicit nonecontains  subroutine sub0(assumed_array) bind(c) ! { dg-error "cannot be an argument" }    integer(c_int), dimension(:) :: assumed_array  end subroutine sub0  subroutine sub1(deferred_array) bind(c) ! { dg-error "cannot" }     integer(c_int), pointer :: deferred_array(:)  end subroutine sub1end module bind_c_array_params

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?