📄 contained_1.f90
字号:
! PR15986! Siblings may be used as actual arguments, in which case they look like! variables during parsing. Also checks that actual variables aren't replaced! by siblings with the same name! { dg-do run }module contained_1_modinteger icontainssubroutine a integer :: c = 42 call sub(b, c)end subroutine asubroutine b() i = i + 1end subroutine bsubroutine cend subroutineend modulesubroutine sub (proc, var) external proc1 integer var if (var .ne. 42) call abort call procend subroutineprogram contained_1 use contained_1_mod i = 0 call a if (i .ne. 1) call abortend program
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -