write_direct_eor.f90

来自「用于进行gcc测试」· F90 代码 · 共 13 行

F90
13
字号
! { dg-do run }! PR26509 : Writing beyond fixed length direct access records.! Test case derived from PR.! Submitted  by Jerry Delisle <jvdelisle@gcc.gnu.org>.program testrecl      implicit none      open(unit = 10, form = 'unformatted', access = 'direct', recl = 4)      write(unit=10,rec=1, err=100) 1d0      call abort() 100  continue      close(unit=10, status='delete')      end

⌨️ 快捷键说明

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