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

📄 com_block_driver.f90

📁 用于进行gcc测试
💻 F90
字号:
! { dg-do run }module myComModule  use, intrinsic :: iso_c_binding  common /COM2/ R2, S2  real(c_double) :: r2  real(c_double) :: s2   bind(c) :: /COM2/end module myComModulemodule comBlockTests  use, intrinsic :: iso_c_binding  use myComModule  implicit none  common /COM/ R, S  real(c_double) :: r  real(c_double) :: s   bind(c) :: /COM/  contains  subroutine testTypes()    implicit none  end subroutine testTypesend module comBlockTestsprogram comBlockDriver  use comBlockTests    call testTypes()end program comBlockDriver! { dg-final { cleanup-modules "mycommodule comblocktests" } }

⌨️ 快捷键说明

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