c_loc_tests_10.f03
来自「用于进行gcc测试」· F03 代码 · 共 9 行
F03
9 行
! { dg-do compile }subroutine aaa(in) use iso_c_binding implicit none integer(KIND=C_int), DIMENSION(:), TARGET :: in type(c_ptr) :: cptr cptr = c_loc(in) ! { dg-error "not C interoperable" }end subroutine aaa
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?