⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pr19872.f

📁 linux下编程用 编译软件
💻 F
字号:
! { dg-do run } ! PR 19872 - closed and re-opened file not overwriten      implicit none      integer i(4)      data i / 4 * 0 /      open(1,form='FORMATTED',status='UNKNOWN')      write(1,'("1 2 3 4 5 6 7 8 9")')      close(1)      open(1,form='FORMATTED')      write(1,'("9 8 7 6")')      close(1)      open(1,form='FORMATTED')      read(1,*)i      if(i(1).ne.9.and.i(2).ne.8.and.i(3).ne.7.and.i(4).ne.9)call abort      read(1,*,end=200)i! should only be able to read one line from the file      call abort 200  continue      close(1,STATUS='DELETE')      end

⌨️ 快捷键说明

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