📄 global_vars_f90_init.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 + -