emptyif.f90

来自「linux下编程用 编译软件」· F90 代码 · 共 21 行

F90
21
字号
! Test empty if statements.  We Used to fail this because we folded! the if stmt before we finished building it.program emptyif  implicit none  integer i    i=1  if(i .le. 0) then  else    i = 2  endif  if (i .ne. 2) call abort()  if (i .eq. 0) then  elseif (i .eq. 2) then    i = 3  end if  if (i .ne. 3) call abort()end

⌨️ 快捷键说明

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