transfer_simplify_5.f90

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

F90
17
字号
! { dg-do compile }! Tests the fix for PR32689, in which the TRANSFER with MOLD! an array variable, as below, did not simplify.!! Contributed by Harald Anlauf <anlauf@gmx.de>!program gfcbug67  implicit none  type mytype     integer, pointer :: i(:) => NULL ()  end type mytype  type(mytype) :: t  print *, size (transfer (1, t% i))end program gfcbug67

⌨️ 快捷键说明

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