repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix pr/45972
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
transfer_simplify_5.f90
blob
65905b87a564a4b91b9ef37afca480ca4341186b
1
! { dg-do compile }
2
! Tests the fix for PR32689, in which the TRANSFER with MOLD
3
! an array variable, as below, did not simplify.
4
!
5
! Contributed by Harald Anlauf <anlauf@gmx.de>
6
!
7
program
gfcbug67
8
implicit none
9
10
type
mytype
11
integer
,
pointer
::
i
(:) =>
NULL
()
12
end type
mytype
13
type
(
mytype
) ::
t
14
15
print
*,
size
(
transfer
(
1
,
t
%
i
))
16
end program
gfcbug67