contained2.f90
来自「用于进行gcc测试」· F90 代码 · 共 29 行
F90
29 行
! Program to check resolution of symbols with the same nameprogram contained2 implicit none integer var1 var1 = 42 if (f1() .ne. 1) call abort call f2() if (var1 .ne. 42) call abortcontainsfunction f1 () implicit none integer f1 integer var1 integer f2 var1 = 1 f2 = var1 f1 = f2end functionsubroutine f2() implicit none if (f1() .ne. 1) call abortend subroutineend program
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?