⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bind_c_usage_15.f90

📁 用于进行gcc测试
💻 F90
字号:
! { dg-do run }!! PR fortran/34187! The binding label was not exported for private procedures! with public generic interfaces.!module mod  use iso_c_binding, only: c_int  implicit none  private  public :: gen, c_int  interface gen    module procedure  test  end interface gencontains  subroutine test(a) bind(c, name="myFunc")    integer(c_int), intent(out) :: a     a = 17  end subroutine testend module modprogram main  use mod  implicit none  integer(c_int) :: x  x = -44  call gen(x)  if(x /= 17) call abort()end program main

⌨️ 快捷键说明

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