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

📄 global_vars_f90_init.f90

📁 用于进行gcc测试
💻 F90
字号:
! { dg-do run }! { dg-additional-sources global_vars_f90_init_driver.c }module global_vars_f90_init  use, intrinsic :: iso_c_binding, only: c_int  implicit none  integer(c_int), bind(c, name='i') :: I = 2contains  subroutine test_globals() bind(c)    ! the value of I is initialized above    if(I .ne. 2) then       call abort()    endif  end subroutine test_globalsend module global_vars_f90_init! { dg-final { cleanup-modules "global_vars_f90_init" } }

⌨️ 快捷键说明

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