contained_1.f90
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· F90 代码 · 共 34 行
F90
34 行
! 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 + =
减小字号Ctrl + -
显示快捷键?